diff options
author | axel lin <axel.lin@gmail.com> | 2011-02-24 03:20:37 +0100 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-02-26 17:59:32 +0100 |
commit | 6407deb59466372fd7addca38fa2f44898591897 (patch) | |
tree | 0b59111e3f77d1ed1f5037d116d02d71d5a6eb9d /drivers/hwmon/ad7414.c | |
parent | Merge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa... (diff) | |
download | linux-6407deb59466372fd7addca38fa2f44898591897.tar.xz linux-6407deb59466372fd7addca38fa2f44898591897.zip |
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 '')
-rw-r--r-- | drivers/hwmon/ad7414.c | 1 |
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[] = { { "ad7414", 0 }, {} }; +MODULE_DEVICE_TABLE(i2c, ad7414_id); static struct i2c_driver ad7414_driver = { .driver = { |