aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authoraxel lin <axel.lin@gmail.com>2011-02-24 02:20:37 +0000
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-02-26 08:59:32 -0800
commit6407deb59466372fd7addca38fa2f44898591897 (patch)
tree0b59111e3f77d1ed1f5037d116d02d71d5a6eb9d /drivers/hwmon
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')
-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 86d822aa9bb..d46c0c758dd 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 = {