Skip to content

Commit

Permalink
hwmon: (adt7411) 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>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
  • Loading branch information
axel lin authored and Guenter Roeck committed Feb 26, 2011
1 parent 6407deb commit a7254d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/hwmon/adt7411.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit a7254d6

Please sign in to comment.