Message ID | 1357813191-1873-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show |
Sachin Kamat wrote: > > Fixes the following warning: > arch/arm/mach-s3c24xx/common-s3c2443.c:135:19: warning: > symbol 'clk_msysclk' was not declared. Should it be static? > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > --- > arch/arm/mach-s3c24xx/common-s3c2443.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-s3c24xx/common-s3c2443.c b/arch/arm/mach- > s3c24xx/common-s3c2443.c > index aeb4a24..f6b9f2e 100644 > --- a/arch/arm/mach-s3c24xx/common-s3c2443.c > +++ b/arch/arm/mach-s3c24xx/common-s3c2443.c > @@ -132,7 +132,7 @@ static struct clk *clk_msysclk_sources[] = { > [3] = &clk_mpllref, > }; > > -struct clksrc_clk clk_msysclk = { > +static struct clksrc_clk clk_msysclk = { > .clk = { > .name = "msysclk", > .parent = &clk_xtal, > -- > 1.7.4.1 Applied, thanks. - Kukjin
diff --git a/arch/arm/mach-s3c24xx/common-s3c2443.c b/arch/arm/mach-s3c24xx/common-s3c2443.c index aeb4a24..f6b9f2e 100644 --- a/arch/arm/mach-s3c24xx/common-s3c2443.c +++ b/arch/arm/mach-s3c24xx/common-s3c2443.c @@ -132,7 +132,7 @@ static struct clk *clk_msysclk_sources[] = { [3] = &clk_mpllref, }; -struct clksrc_clk clk_msysclk = { +static struct clksrc_clk clk_msysclk = { .clk = { .name = "msysclk", .parent = &clk_xtal,
Fixes the following warning: arch/arm/mach-s3c24xx/common-s3c2443.c:135:19: warning: symbol 'clk_msysclk' was not declared. Should it be static? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- arch/arm/mach-s3c24xx/common-s3c2443.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)