VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Zou Wei <zou_wei@huawei.com> 2021-05-12 14:49:18 +0800 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-07-20 16:00:21 +0200 commit: 5f59df2b2358122e275b7e27af74fddd68c7e3f7 parent: 658d9b2911933bfaf78b53d08313b6dc88e8670a
Commit Summary:
leds: turris-omnia: add missing MODULE_DEVICE_TABLE
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/drivers/leds/leds-turris-omnia.c b/drivers/leds/leds-turris-omnia.c
index 2f9a289ab245..1adfed1c0619 100644
--- a/drivers/leds/leds-turris-omnia.c
+++ b/drivers/leds/leds-turris-omnia.c
@@ -274,6 +274,7 @@ static const struct i2c_device_id omnia_id[] = {
 	{ "omnia", 0 },
 	{ }
 };
+MODULE_DEVICE_TABLE(i2c, omnia_id);
 
 static struct i2c_driver omnia_leds_driver = {
 	.probe		= omnia_leds_probe,