projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68146a5
)
hwmon: (iio_hwmon) add alias table
author
Sebastian Andrzej Siewior
<bigeasy@linutronix.de>
Mon, 10 Jun 2013 15:47:45 +0000
(17:47 +0200)
committer
Guenter Roeck
<linux@roeck-us.net>
Thu, 27 Jun 2013 17:29:03 +0000
(10:29 -0700)
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>
drivers/hwmon/iio_hwmon.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/iio_hwmon.c
b/drivers/hwmon/iio_hwmon.c
index 52b77afebde120a17ce75bf6401103cad556d021..708081b68c6fc7007ec0524d8d0ee5745d0419f9 100644
(file)
--- 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 = {