From: Sebastian Andrzej Siewior Date: Mon, 10 Jun 2013 15:47:45 +0000 (+0200) Subject: hwmon/iio_hwmon: add alias table X-Git-Tag: next-20130619~83^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c6a4dc30911d734d5ca3e2236ea4c9d7a6e6bbe1;p=karo-tx-linux.git 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 Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/iio_hwmon.c b/drivers/hwmon/iio_hwmon.c index 52b77afebde1..708081b68c6f 100644 --- a/drivers/hwmon/iio_hwmon.c +++ b/drivers/hwmon/iio_hwmon.c @@ -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 = {