aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ad7414.c
diff options
context:
space:
mode:
authoraxel lin <axel.lin@gmail.com>2011-02-23 21:20:37 -0500
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-02-26 11:59:32 -0500
commit6407deb59466372fd7addca38fa2f44898591897 (patch)
tree0b59111e3f77d1ed1f5037d116d02d71d5a6eb9d /drivers/hwmon/ad7414.c
parent493f3358cb289ccf716c5a14fa5bb52ab75943e5 (diff)
hwmon: (ad7414) add MODULE_DEVICE_TABLE
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>
Diffstat (limited to 'drivers/hwmon/ad7414.c')
-rw-r--r--drivers/hwmon/ad7414.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/ad7414.c b/drivers/hwmon/ad7414.c
index 86d822aa9bbf..d46c0c758ddf 100644
--- a/drivers/hwmon/ad7414.c
+++ b/drivers/hwmon/ad7414.c
@@ -242,6 +242,7 @@ static const struct i2c_device_id ad7414_id[] = {
242 { "ad7414", 0 }, 242 { "ad7414", 0 },
243 {} 243 {}
244}; 244};
245MODULE_DEVICE_TABLE(i2c, ad7414_id);
245 246
246static struct i2c_driver ad7414_driver = { 247static struct i2c_driver ad7414_driver = {
247 .driver = { 248 .driver = {