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:
fe51528
)
hwmon: (pwm-fan) Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Thu, 17 Sep 2015 16:09:55 +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/pwm-fan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/pwm-fan.c
b/drivers/hwmon/pwm-fan.c
index 2d9a712699ff5d541e831629834b23882b4fa606..3e23003f78b01ca731e8c232f38e1132eccf251f 100644
(file)
--- a/
drivers/hwmon/pwm-fan.c
+++ b/
drivers/hwmon/pwm-fan.c
@@
-323,6
+323,7
@@
static const struct of_device_id of_pwm_fan_match[] = {
{ .compatible = "pwm-fan", },
{},
};
+MODULE_DEVICE_TABLE(of, of_pwm_fan_match);
static struct platform_driver pwm_fan_driver = {
.probe = pwm_fan_probe,