Skip to content

Commit

Permalink
hwmon: (iio_hwmon) add alias table
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Andrzej Siewior authored and Guenter Roeck committed Jun 27, 2013
1 parent 68146a5 commit 2ec2819
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/hwmon/iio_hwmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 2ec2819

Please sign in to comment.