diff mbox

[1/1] ARM: S3C24XX: Make 'clk_msysclk' static

Message ID 1357813191-1873-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Jan. 10, 2013, 10:19 a.m. UTC
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(-)

Comments

Kukjin Kim Jan. 17, 2013, 12:06 a.m. UTC | #1
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 mbox

Patch

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,