projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4dbe79
)
Input: pwm-beeper - fix module autoload for OF platform driver
author
Luis de Bethencourt
<
[email protected]
>
Thu, 3 Sep 2015 17:49:46 +0000
(10:49 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Thu, 3 Sep 2015 17:56:20 +0000
(10:56 -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 <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/misc/pwm-beeper.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/pwm-beeper.c
b/drivers/input/misc/pwm-beeper.c
index e82edf810d1f3e6354b992f852ddbe8f433cd0b3..f2261ab5470126f0935c3ca9d3830b55699dc378 100644
(file)
--- a/
drivers/input/misc/pwm-beeper.c
+++ b/
drivers/input/misc/pwm-beeper.c
@@
-173,6
+173,7
@@
static const struct of_device_id pwm_beeper_match[] = {
{ .compatible = "pwm-beeper", },
{ },
};
+MODULE_DEVICE_TABLE(of, pwm_beeper_match);
#endif
static struct platform_driver pwm_beeper_driver = {