From: Javier Martinez Canillas Date: Thu, 30 Jul 2015 16:18:30 +0000 (+0200) Subject: macintosh/therm_windtunnel: Export I2C module alias information X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cb0eefcc3271ea1d370476dd29685918b99c5a9f;p=linux-beck.git macintosh/therm_windtunnel: Export I2C module alias information The I2C core always reports the MODALIAS uevent as "i2c: Signed-off-by: Michael Ellerman --- diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c index 109dcaa15934..97269567ec01 100644 --- a/drivers/macintosh/therm_windtunnel.c +++ b/drivers/macintosh/therm_windtunnel.c @@ -408,6 +408,7 @@ static const struct i2c_device_id therm_windtunnel_id[] = { { "therm_adm1030", adm1030 }, { } }; +MODULE_DEVICE_TABLE(i2c, therm_windtunnel_id); static int do_probe(struct i2c_client *cl, const struct i2c_device_id *id)