projects/linux·commit 3e1f2356

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

3e1f2356 · Linus Torvalds <[email protected]> · 2011-02-28 18:09:02 -08:00

* '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
Commit
3e1f2356ce231488dc1fa844e5ce91bcb59fc2a1
Parents
e6eb5ce1 · a7254d68

Merge commit. Changes below are compared with the first parent: e6eb5ce1.

Changes

2 files changed · +2 −0

FileStatusAddDelContent
drivers/hwmon/ad7414.cmodified+1−0View file
drivers/hwmon/adt7411.cmodified+1−0View file

drivers/hwmon/ad7414.c

View file
diff --git a/drivers/hwmon/ad7414.c b/drivers/hwmon/ad7414.c
index 86d822a..d46c0c7 100644
--- a/drivers/hwmon/ad7414.c
+++ b/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 = {

drivers/hwmon/adt7411.c

View file
diff --git a/drivers/hwmon/adt7411.c b/drivers/hwmon/adt7411.c
index f13c843..5cc3e37 100644
--- a/drivers/hwmon/adt7411.c
+++ b/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 = {