projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f93e4a
)
hwmon: (abx500) Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Thu, 17 Sep 2015 16:09:11 +0000
(18:09 +0200)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 21 Sep 2015 00:50:19 +0000
(17:50 -0700)
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/abx500.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/abx500.c
b/drivers/hwmon/abx500.c
index 6cb89c0ebab6df03f7e8b38fc81cecd3136e57de..1fd46859ed29ded69dbb479c980316142bde5fd7 100644
(file)
--- a/
drivers/hwmon/abx500.c
+++ b/
drivers/hwmon/abx500.c
@@
-470,6
+470,7
@@
static const struct of_device_id abx500_temp_match[] = {
{ .compatible = "stericsson,abx500-temp" },
{},
};
+MODULE_DEVICE_TABLE(of, abx500_temp_match);
#endif
static struct platform_driver abx500_temp_driver = {