[PATCH] clk/versatile: export symbols for impd1
Mike Turquette
mturquette at linaro.org
Wed May 14 23:41:28 PDT 2014
Quoting Arnd Bergmann (2014-05-08 07:56:16)
> 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 at arndb.de>
> Cc: Mike Turquette <mturquette at linaro.org>
> Cc: Linus Walleij <linus.walleij at linaro.org>
Taken into clk-next.
Thanks!
Mike
> ---
> drivers/clk/versatile/clk-icst.c | 1 +
> drivers/clk/versatile/clk-impd1.c | 2 ++
> 2 files changed, 3 insertions(+)
>
> diff --git a/drivers/clk/versatile/clk-icst.c b/drivers/clk/versatile/clk-icst.c
> index a820b0c..7f3868a 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 31b44f0..264d8d5 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);
> --
> 1.8.3.2
>
More information about the linux-arm-kernel
mailing list