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>
This commit is contained in:
parent
6407deb594
commit
a7254d68b6
1 changed files with 1 additions and 0 deletions
|
@ -334,6 +334,7 @@ static const struct i2c_device_id adt7411_id[] = {
|
||||||
{ "adt7411", 0 },
|
{ "adt7411", 0 },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(i2c, adt7411_id);
|
||||||
|
|
||||||
static struct i2c_driver adt7411_driver = {
|
static struct i2c_driver adt7411_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
|
|
Loading…
Reference in a new issue