提交 2ec28196 编写于 作者: S Sebastian Andrzej Siewior 提交者: 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: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
上级 68146a57
......@@ -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 = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册