Bladeren bron

Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging

* 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging:
  hwmon: (adt7411) add MODULE_DEVICE_TABLE
  hwmon: (ad7414) add MODULE_DEVICE_TABLE
Linus Torvalds 14 jaren geleden
bovenliggende
commit
3e1f2356ce
2 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 1 0
      drivers/hwmon/ad7414.c
  2. 1 0
      drivers/hwmon/adt7411.c

+ 1 - 0
drivers/hwmon/ad7414.c

@@ -242,6 +242,7 @@ static const struct i2c_device_id ad7414_id[] = {
 	{ "ad7414", 0 },
 	{}
 };
+MODULE_DEVICE_TABLE(i2c, ad7414_id);
 
 static struct i2c_driver ad7414_driver = {
 	.driver = {

+ 1 - 0
drivers/hwmon/adt7411.c

@@ -334,6 +334,7 @@ static const struct i2c_device_id adt7411_id[] = {
 	{ "adt7411", 0 },
 	{ }
 };
+MODULE_DEVICE_TABLE(i2c, adt7411_id);
 
 static struct i2c_driver adt7411_driver = {
 	.driver		= {