Commit a218d7fa authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mike Turquette

clk/versatile: export symbols for impd1

The impd1 code on mach-integrator can be a loadable module,
so we have to export icst_clk_register, integrator_impd1_clk_init
and integrator_impd1_clk_exit.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 6ed8eb59
...@@ -160,3 +160,4 @@ struct clk *icst_clk_register(struct device *dev, ...@@ -160,3 +160,4 @@ struct clk *icst_clk_register(struct device *dev,
return clk; return clk;
} }
EXPORT_SYMBOL_GPL(icst_clk_register);
...@@ -133,6 +133,7 @@ void integrator_impd1_clk_init(void __iomem *base, unsigned int id) ...@@ -133,6 +133,7 @@ void integrator_impd1_clk_init(void __iomem *base, unsigned int id)
for (i = 0; i < ARRAY_SIZE(imc->clks); i++) for (i = 0; i < ARRAY_SIZE(imc->clks); i++)
clkdev_add(imc->clks[i]); clkdev_add(imc->clks[i]);
} }
EXPORT_SYMBOL_GPL(integrator_impd1_clk_init);
void integrator_impd1_clk_exit(unsigned int id) void integrator_impd1_clk_exit(unsigned int id)
{ {
...@@ -155,3 +156,4 @@ void integrator_impd1_clk_exit(unsigned int id) ...@@ -155,3 +156,4 @@ void integrator_impd1_clk_exit(unsigned int id)
kfree(imc->vco2name); kfree(imc->vco2name);
kfree(imc->vco1name); kfree(imc->vco1name);
} }
EXPORT_SYMBOL_GPL(integrator_impd1_clk_exit);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment