From: axel lin Date: Thu, 24 Feb 2011 02:22:01 +0000 (+0000) Subject: hwmon: (adt7411) add MODULE_DEVICE_TABLE X-Git-Tag: v2.6.38-rc7~2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7254d68b61c7873ce20591f0c56bf0245b72a76;p=thirdparty%2Flinux.git hwmon: (adt7411) add MODULE_DEVICE_TABLE The device table is required to load modules based on modaliases. Signed-off-by: Axel Lin Acked-by: Wolfram Sang Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/adt7411.c b/drivers/hwmon/adt7411.c index f13c843a2964b..5cc3e3784b42f 100644 --- a/drivers/hwmon/adt7411.c +++ b/drivers/hwmon/adt7411.c @@ -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 = {