summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-08-28 14:43:54 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-09-16 15:22:27 -0700
commitad915483e3f74f3df3b6bf195f23c1acc68949dd (patch)
tree03fd18799d86c6182c4e933f9d20ad0a91bc22cf /drivers/clk/sunxi
parentf01745f640467353ac4ac526883400d3d43d8962 (diff)
downloadlinux-ad915483e3f74f3df3b6bf195f23c1acc68949dd.tar.bz2
clk: sunxi: sun6i-ar100: Fix module autoload for OF platform driver
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>
Diffstat (limited to 'drivers/clk/sunxi')
-rw-r--r--drivers/clk/sunxi/clk-sun6i-ar100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/clk-sun6i-ar100.c b/drivers/clk/sunxi/clk-sun6i-ar100.c
index 806fd019c05d..20887686bdbe 100644
--- 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 = {