]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 12 Oct 2017 14:28:18 +0000 (15:28 +0100)
commit03dd4e8129827e593b99abbe1feb3eb6f4d8138b
treefc844493a49b7efd35d5de9d7be0a861484e4ab2
parentbdfa07090b4fe416e7f3c3a3c3c8d612e4c3033a
macintosh/therm_windtunnel: Export I2C module alias information

commit cb0eefcc3271ea1d370476dd29685918b99c5a9f upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/macintosh/therm_windtunnel.c