hwmon/iio_hwmon: add alias table
PATCH 1/1 hwmon/iio_hwmon: add alias table
This helps the kernel to find the right module once the device is created.
Signed-off-by Sebastian Andrzej Siewior <[email protected]>
--- drivers/hwmon/iio_hwmon.c | 1 + 1 file changed, 1 insertion(+)
drivers/hwmon/iio_hwmon.c +1 -0
@@ -180,6 +180,7 @@ static struct of_device_id iio_hwmon_of_match[] = { { .compatible = "iio-hwmon", }, { } }; +MODULE_DEVICE_TABLE (of, iio_hwmon_of_match);static struct platform_driver __refdata iio_hwmon_driver = { .driver = {
Signature · 7 lines
1.7.10.4 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines · Sebastian Andrzej Siewior
This helps the kernel to find the right module once the device is created.
Signed-off-by Sebastian Andrzej Siewior <[email protected]>
Applied to -next.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors