Skip to content

Commit

Permalink
[ARM] S3C24XX: Fix sparse warnings in pwm.c
Browse files Browse the repository at this point in the history
Fix the following sparse warnings in arch/arm/plat-s3c24xx/pwm.c:

warning: symbol 's3c_device_timer' was not declared. Should it be static?
warning: symbol 'pwm_calc_tin' 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 1442e66 commit 1038959
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/plat-s3c24xx/pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/io.h>
#include <linux/pwm.h>

#include <asm/plat-s3c24xx/devs.h>
#include <asm/plat-s3c/regs-timer.h>

struct pwm_device {
Expand Down Expand Up @@ -168,7 +169,7 @@ void pwm_disable(struct pwm_device *pwm)

EXPORT_SYMBOL(pwm_disable);

unsigned long pwm_calc_tin(struct pwm_device *pwm, unsigned long freq)
static unsigned long pwm_calc_tin(struct pwm_device *pwm, unsigned long freq)
{
unsigned long tin_parent_rate;
unsigned int div;
Expand Down

0 comments on commit 1038959

Please sign in to comment.