Commit a7254d68 authored by axel lin's avatar axel lin Committed by Guenter Roeck

hwmon: (adt7411) add MODULE_DEVICE_TABLE

The device table is required to load modules based on modaliases.
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent 6407deb5
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment