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:
a97cea2
)
clk: sunxi: sun6i-apb0: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Fri, 28 Aug 2015 12:43:14 +0000
(14:43 +0200)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Wed, 16 Sep 2015 22:22:23 +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-sun6i-apb0.c
patch
|
blob
|
history
diff --git
a/drivers/clk/sunxi/clk-sun6i-apb0.c
b/drivers/clk/sunxi/clk-sun6i-apb0.c
index 70763600aeaeed91e73203fdc9a1e68efc5a97b2..e703e1895b76bf3affb282be6c1827ea1f5a7e61 100644
(file)
--- a/
drivers/clk/sunxi/clk-sun6i-apb0.c
+++ b/
drivers/clk/sunxi/clk-sun6i-apb0.c
@@
-61,6
+61,7
@@
static const struct of_device_id sun6i_a31_apb0_clk_dt_ids[] = {
{ .compatible = "allwinner,sun6i-a31-apb0-clk" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, sun6i_a31_apb0_clk_dt_ids);
static struct platform_driver sun6i_a31_apb0_clk_driver = {
.driver = {