Skip to content

Commit

Permalink
hwmon: (ad7414) add MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
axel lin authored and Guenter Roeck committed Feb 26, 2011
1 parent 493f335 commit 6407deb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/hwmon/ad7414.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 6407deb

Please sign in to comment.