projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
493f335
)
hwmon: (ad7414) add MODULE_DEVICE_TABLE
author
axel lin
<axel.lin@gmail.com>
Thu, 24 Feb 2011 02:20:37 +0000
(
02:20
+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>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/ad7414.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/ad7414.c
b/drivers/hwmon/ad7414.c
index 86d822aa9bbf78a75ff20d1e4bff1bb0623d3a79..d46c0c758ddf163200f52d8e52cebb0dcf05b4b5 100644
(file)
--- 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 = {