Commit 2ec28196 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Guenter Roeck

hwmon: (iio_hwmon) add alias table

This helps the kernel to find the right module once the device is
created.
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 68146a57
...@@ -180,6 +180,7 @@ static struct of_device_id iio_hwmon_of_match[] = { ...@@ -180,6 +180,7 @@ static struct of_device_id iio_hwmon_of_match[] = {
{ .compatible = "iio-hwmon", }, { .compatible = "iio-hwmon", },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, iio_hwmon_of_match);
static struct platform_driver __refdata iio_hwmon_driver = { static struct platform_driver __refdata iio_hwmon_driver = {
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment