1
0
Fork 0
alistair23-linux/drivers/iio/temperature
Javier Martinez Canillas cdd469ad9e iio: Export I2C module alias information
The I2C drivers have an i2c_device_id array but that information isn't
exported to the modules using the MODULE_DEVICE_TABLE() macro. So the
modules autoloading won't work if the I2C device is registered using
OF or legacy board files due missing alias information in the modules.

The issue was found using Kieran Bingham's coccinelle semantic patch:
https://lkml.org/lkml/2016/5/10/520

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-05-21 20:08:14 +01:00
..
Kconfig Add tsys02d meas-spec driver support 2015-10-11 10:21:19 +01:00
Makefile Add tsys02d meas-spec driver support 2015-10-11 10:21:19 +01:00
mlx90614.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
tmp006.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
tsys01.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
tsys02d.c iio: Export I2C module alias information 2016-05-21 20:08:14 +01:00