summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authoraxel lin <axel.lin@gmail.com>2011-02-24 03:22:01 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-02-26 17:59:32 +0100
commita7254d68b61c7873ce20591f0c56bf0245b72a76 (patch)
tree94380b94352586be8ab9d7488b7c918b0c4615e4 /drivers
parenthwmon: (ad7414) add MODULE_DEVICE_TABLE (diff)
downloadlinux-a7254d68b61c7873ce20591f0c56bf0245b72a76.tar.xz
linux-a7254d68b61c7873ce20591f0c56bf0245b72a76.zip
hwmon: (adt7411) add MODULE_DEVICE_TABLE
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hwmon/adt7411.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/adt7411.c b/drivers/hwmon/adt7411.c
index f13c843a2964..5cc3e3784b42 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 = {