projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6407deb
)
hwmon: (adt7411) add MODULE_DEVICE_TABLE
author
axel lin
<axel.lin@gmail.com>
Thu, 24 Feb 2011 02:22:01 +0000
(
02:22
+0000)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Sat, 26 Feb 2011 16:59:32 +0000
(08:59 -0800)
The device table is required to load modules based on modaliases.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/adt7411.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/adt7411.c
b/drivers/hwmon/adt7411.c
index f13c843a2964bbb07728c06363cda065937293bb..5cc3e3784b42f5101c4238a0582113adecaae737 100644
(file)
--- 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 = {