Skip to contentSkip to conversation

hwmon/iio_hwmon: add alias table

PATCH Applied Sebastian Andrzej Siewior 2 participants 2 messages Jun 10, 2013 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon/iio_hwmon: add alias table

This helps the kernel to find the right module once the device is created.

---
 drivers/hwmon/iio_hwmon.c |    1 +
 1 file changed, 1 insertion(+)
drivers/hwmon/iio_hwmon.c +1 -0
index 52b77af..708081b 100644
@@ -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