iio: Export SPI module alias information in missing drivers
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 20 Aug 2015 07:07:14 +0000 (09:07 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 22 Aug 2015 18:07:09 +0000 (19:07 +0100)
commited199a11bdfd2957e46984b77a1e1f0927dc9fa0
tree46a18ccec71ece3b202fd76c11d6d1204ef6a9fe
parent1c00dcd31d8e71670180ff938f05eb9aef49c84e
iio: Export SPI module alias information in missing drivers

The SPI core always reports the MODALIAS uevent as "spi:<modalias>"
regardless of the mechanism that was used to register the device
(i.e: OF or board code) and the table that is used later to match
the driver with the device (i.e: SPI id table or OF match table).

So drivers needs to export the SPI id table and this be built into
the module or udev won't have the necessary information to autoload
the needed driver module when the device is added.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/amplifiers/ad8366.c
drivers/iio/frequency/adf4350.c
This page took 0.025544 seconds and 5 git commands to generate.