diff options
| author | axel lin <axel.lin@gmail.com> | 2011-02-24 02:20:37 +0000 |
|---|---|---|
| committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-02-26 08:59:32 -0800 |
| commit | 6407deb59466372fd7addca38fa2f44898591897 (patch) | |
| tree | 0b59111e3f77d1ed1f5037d116d02d71d5a6eb9d | |
| parent | Merge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa... (diff) | |
| download | linux-6407deb59466372fd7addca38fa2f44898591897.tar.gz 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>
| -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 = { |
