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:
6ed5f8e
)
clk: sunxi: sun9i-mmc: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Fri, 28 Aug 2015 12:44:32 +0000
(14:44 +0200)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Wed, 16 Sep 2015 22:22:31 +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-sun9i-mmc.c
patch
|
blob
|
history
diff --git
a/drivers/clk/sunxi/clk-sun9i-mmc.c
b/drivers/clk/sunxi/clk-sun9i-mmc.c
index 3436a948b796fc42b53181cda67ca89ab731f690..a9b176139aca8b159329e25ef76b805825423229 100644
(file)
--- a/
drivers/clk/sunxi/clk-sun9i-mmc.c
+++ b/
drivers/clk/sunxi/clk-sun9i-mmc.c
@@
-204,6
+204,7
@@
static const struct of_device_id sun9i_a80_mmc_config_clk_dt_ids[] = {
{ .compatible = "allwinner,sun9i-a80-mmc-config-clk" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, sun9i_a80_mmc_config_clk_dt_ids);
static struct platform_driver sun9i_a80_mmc_config_clk_driver = {
.driver = {