Skip to content

Commit

Permalink
[ARM] S3C24XX: Fix spare errors in pwm-clock driver
Browse files Browse the repository at this point in the history
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: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Ben Dooks committed Aug 26, 2008
1 parent f4cb1a8 commit 1442e66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/plat-s3c24xx/pwm-clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static unsigned long clk_pwm_scaler_getrate(struct clk *clk)

/* TODO - add set rate calls. */

struct clk clk_timer_scaler[] = {
static struct clk clk_timer_scaler[] = {
[0] = {
.name = "pwm-scaler0",
.id = -1,
Expand All @@ -102,7 +102,7 @@ struct clk clk_timer_scaler[] = {
},
};

struct clk clk_timer_tclk[] = {
static struct clk clk_timer_tclk[] = {
[0] = {
.name = "pwm-tclk0",
.id = -1,
Expand Down Expand Up @@ -232,7 +232,7 @@ static int clk_pwm_tdiv_set_rate(struct clk *clk, unsigned long rate)
return 0;
}

struct pwm_tdiv_clk clk_timer_tdiv[] = {
static struct pwm_tdiv_clk clk_timer_tdiv[] = {
[0] = {
.clk = {
.name = "pwm-tdiv",
Expand Down

0 comments on commit 1442e66

Please sign in to comment.