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:
544edf5
)
Input: regulator-haptic - fix module autoload for OF platform driver
author
Luis de Bethencourt
<
[email protected]
>
Thu, 3 Sep 2015 17:50:21 +0000
(10:50 -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/regulator-haptic.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/regulator-haptic.c
b/drivers/input/misc/regulator-haptic.c
index 6bf3f1082f71ea6c6802fe7e4b73a4c5378df120..a804705eb04a280226d42eb28c0e2e283b7be697 100644
(file)
--- a/
drivers/input/misc/regulator-haptic.c
+++ b/
drivers/input/misc/regulator-haptic.c
@@
-249,6
+249,7
@@
static const struct of_device_id regulator_haptic_dt_match[] = {
{ .compatible = "regulator-haptic" },
{ /* sentinel */ },
};
+MODULE_DEVICE_TABLE(of, regulator_haptic_dt_match);
static struct platform_driver regulator_haptic_driver = {
.probe = regulator_haptic_probe,