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