From: Javier Martinez Canillas Date: Thu, 30 Jul 2015 16:18:39 +0000 (+0200) Subject: hwmon: (nct7904) Export I2C module alias information X-Git-Tag: v4.1.6~24 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f03bde70841d33615dc6921cca369f4035ee6c68;p=users%2Fjedix%2Flinux-maple.git hwmon: (nct7904) Export I2C module alias information commit 1252be9ce0ab4f622b8692b648894d09c0df71ce upstream. The I2C core always reports the MODALIAS uevent as "i2c: Signed-off-by: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hwmon/nct7904.c b/drivers/hwmon/nct7904.c index 6153df735e82c..08ff89d222e5f 100644 --- a/drivers/hwmon/nct7904.c +++ b/drivers/hwmon/nct7904.c @@ -575,6 +575,7 @@ static const struct i2c_device_id nct7904_id[] = { {"nct7904", 0}, {} }; +MODULE_DEVICE_TABLE(i2c, nct7904_id); static struct i2c_driver nct7904_driver = { .class = I2C_CLASS_HWMON,