Skip to content

Commit

Permalink
ARM: S3C64XX: use static declaration when it is not used in other files
Browse files Browse the repository at this point in the history
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Kukjin Kim committed Jan 21, 2012
1 parent 4cfb7b7 commit 5086c6c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c64xx/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

/* uart registration process */

void __init s3c64xx_init_uarts(struct s3c2410_uartcfg *cfg, int no)
static void __init s3c64xx_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
s3c24xx_init_uartdevs("s3c6400-uart", s3c64xx_uart_resources, cfg, no);
}
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-s3c64xx/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ void s3c64xx_setup_clocks(void);

void s3c64xx_restart(char mode, const char *cmd);

extern struct syscore_ops s3c64xx_irq_syscore_ops;

#ifdef CONFIG_CPU_S3C6400

extern int s3c6400_init(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c64xx/irq-pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static void s3c64xx_irq_pm_resume(void)
S3C_PMDBG("%s: IRQ configuration restored\n", __func__);
}

struct syscore_ops s3c64xx_irq_syscore_ops = {
static struct syscore_ops s3c64xx_irq_syscore_ops = {
.suspend = s3c64xx_irq_pm_suspend,
.resume = s3c64xx_irq_pm_resume,
};
Expand Down

0 comments on commit 5086c6c

Please sign in to comment.