diff options
author | axel lin <axel.lin@gmail.com> | 2011-02-24 02:22:01 +0000 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-02-26 08:59:32 -0800 |
commit | a7254d68b61c7873ce20591f0c56bf0245b72a76 (patch) | |
tree | 94380b94352586be8ab9d7488b7c918b0c4615e4 /drivers | |
parent | 6407deb59466372fd7addca38fa2f44898591897 (diff) |
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.c | 1 |
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 = { |