[PATCH 03/16] ARM: Samsung: plat-s5p - enable access to clk_27m clock
Kukjin Kim
kgene.kim at samsung.com
Wed May 12 00:55:15 EDT 2010
Marek Szyprowski wrote:
>
> Clock clk_27m can be a source for other clocks in S5PC100 clocks.
> This patch removes static attribute of it.
>
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
> arch/arm/plat-s5p/clock.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/plat-s5p/clock.c b/arch/arm/plat-s5p/clock.c
> index aa96e33..519cdb4 100644
> --- a/arch/arm/plat-s5p/clock.c
> +++ b/arch/arm/plat-s5p/clock.c
> @@ -33,7 +33,7 @@ struct clk clk_ext_xtal_mux = {
> .id = -1,
> };
>
> -static struct clk s5p_clk_27m = {
> +struct clk clk_27m = {
> .name = "clk_27m",
> .id = -1,
> .rate = 27000000,
> @@ -129,7 +129,7 @@ int s5p_gatectrl(void __iomem *reg, struct clk *clk,
int
> enable)
> static struct clk *s5p_clks[] __initdata = {
> &clk_ext_xtal_mux,
> &clk_48m,
> - &s5p_clk_27m,
> + &clk_27m,
> &clk_fout_apll,
> &clk_fout_mpll,
> &clk_fout_epll,
> --
Since clk_27m is now not static, it would be good to rename it as
s5p_clk_27m.
Do you have any reason for renaming?
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
More information about the linux-arm-kernel
mailing list