summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-05-08 16:56:16 +0200
committerMike Turquette <mturquette@linaro.org>2014-05-15 08:40:49 +0200
commita218d7fa3f7dbc0d3a168f1ccd13b21313d85dab (patch)
tree20111aaf5775bc2e897f83086deec42c71684035
parentMerge tag 'clk-hisi-for-v3.16' of https://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadlinux-a218d7fa3f7dbc0d3a168f1ccd13b21313d85dab.tar.xz
linux-a218d7fa3f7dbc0d3a168f1ccd13b21313d85dab.zip
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: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
-rw-r--r--drivers/clk/versatile/clk-icst.c1
-rw-r--r--drivers/clk/versatile/clk-impd1.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/versatile/clk-icst.c b/drivers/clk/versatile/clk-icst.c
index a820b0cfcf57..7f3868a227c8 100644
--- a/drivers/clk/versatile/clk-icst.c
+++ b/drivers/clk/versatile/clk-icst.c
@@ -160,3 +160,4 @@ struct clk *icst_clk_register(struct device *dev,
return clk;
}
+EXPORT_SYMBOL_GPL(icst_clk_register);
diff --git a/drivers/clk/versatile/clk-impd1.c b/drivers/clk/versatile/clk-impd1.c
index 31b44f025f9e..264d8d59ce31 100644
--- a/drivers/clk/versatile/clk-impd1.c
+++ b/drivers/clk/versatile/clk-impd1.c
@@ -133,6 +133,7 @@ void integrator_impd1_clk_init(void __iomem *base, unsigned int id)
for (i = 0; i < ARRAY_SIZE(imc->clks); i++)
clkdev_add(imc->clks[i]);
}
+EXPORT_SYMBOL_GPL(integrator_impd1_clk_init);
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->vco1name);
}
+EXPORT_SYMBOL_GPL(integrator_impd1_clk_exit);