Commit 1442e662 authored by Ben Dooks's avatar Ben Dooks

[ARM] S3C24XX: Fix spare errors in pwm-clock driver

Fix the following sparse warnings in arch/arm/plat-s3c24xx/pwm-clock.c:

warning: symbol 'clk_timer_scaler' was not declared. Should it be static?
warning: symbol 'clk_timer_tclk' was not declared. Should it be static?
warning: symbol 'clk_timer_tdiv' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent f4cb1a89
...@@ -89,7 +89,7 @@ static unsigned long clk_pwm_scaler_getrate(struct clk *clk) ...@@ -89,7 +89,7 @@ static unsigned long clk_pwm_scaler_getrate(struct clk *clk)
/* TODO - add set rate calls. */ /* TODO - add set rate calls. */
struct clk clk_timer_scaler[] = { static struct clk clk_timer_scaler[] = {
[0] = { [0] = {
.name = "pwm-scaler0", .name = "pwm-scaler0",
.id = -1, .id = -1,
...@@ -102,7 +102,7 @@ struct clk clk_timer_scaler[] = { ...@@ -102,7 +102,7 @@ struct clk clk_timer_scaler[] = {
}, },
}; };
struct clk clk_timer_tclk[] = { static struct clk clk_timer_tclk[] = {
[0] = { [0] = {
.name = "pwm-tclk0", .name = "pwm-tclk0",
.id = -1, .id = -1,
...@@ -232,7 +232,7 @@ static int clk_pwm_tdiv_set_rate(struct clk *clk, unsigned long rate) ...@@ -232,7 +232,7 @@ static int clk_pwm_tdiv_set_rate(struct clk *clk, unsigned long rate)
return 0; return 0;
} }
struct pwm_tdiv_clk clk_timer_tdiv[] = { static struct pwm_tdiv_clk clk_timer_tdiv[] = {
[0] = { [0] = {
.clk = { .clk = {
.name = "pwm-tdiv", .name = "pwm-tdiv",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment