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 <bigeasy@linutronix.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Sebastian Andrzej Siewior 2013-06-10 17:47:45 +02:00 committed by Guenter Roeck
parent 68146a5712
commit 2ec2819623
1 changed files with 1 additions and 0 deletions

View File

@ -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 = {