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:
ad91548
)
clk: sunxi: sun8i-apb0: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Fri, 28 Aug 2015 12:44:14 +0000
(14:44 +0200)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Wed, 16 Sep 2015 22:22:29 +0000
(15:22 -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 <luis@debethencourt.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sunxi/clk-sun8i-apb0.c
patch
|
blob
|
history
diff --git
a/drivers/clk/sunxi/clk-sun8i-apb0.c
b/drivers/clk/sunxi/clk-sun8i-apb0.c
index 155d0022194f2665068b46ed92a0b70cefbca601..7ae5d2c2cde17b1cdaf265a831f3983cd3892d75 100644
(file)
--- a/
drivers/clk/sunxi/clk-sun8i-apb0.c
+++ b/
drivers/clk/sunxi/clk-sun8i-apb0.c
@@
-52,6
+52,7
@@
static const struct of_device_id sun8i_a23_apb0_clk_dt_ids[] = {
{ .compatible = "allwinner,sun8i-a23-apb0-clk" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, sun8i_a23_apb0_clk_dt_ids);
static struct platform_driver sun8i_a23_apb0_clk_driver = {
.driver = {