]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
macintosh/therm_windtunnel: Export I2C module alias information
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 30 Jul 2015 16:18:30 +0000 (18:18 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Aug 2015 06:15:17 +0000 (16:15 +1000)
commitcb0eefcc3271ea1d370476dd29685918b99c5a9f
tree41344c3a357b6006a20d5a91ab309f5f6fce9c5b
parentacf6cec8365bfe1e6435e503eae4eab48ee04fc8
macintosh/therm_windtunnel: Export I2C module alias information

The I2C core always reports the MODALIAS uevent as "i2c:<client name"
regardless if the driver was matched using the I2C id_table or the
of_match_table. So the driver needs to export the I2C table and this
be built into the module or udev won't have the necessary information
to auto load the correct module when the device is added.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/macintosh/therm_windtunnel.c