]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: S3C64XX: use static declaration when it is not used in other files
authorKukjin Kim <kgene.kim@samsung.com>
Sat, 21 Jan 2012 02:32:42 +0000 (11:32 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 21 Jan 2012 03:02:31 +0000 (12:02 +0900)
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/common.c
arch/arm/mach-s3c64xx/common.h
arch/arm/mach-s3c64xx/irq-pm.c

index 4a7394d4bd9ea0e2f79fbb2af25a19c862cf7257..bee7dcd4df7c34ad8fb381173d1a7250a80b418a 100644 (file)
@@ -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);
 }
index 5eb9c9a7d73b3d8dd3123e88bedd2382d37f2f9c..7a10be629aba26723cb51bc28d460a0a5dc4ef53 100644 (file)
@@ -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);
index 8bec61e242c7a73b287a3db9b03e5f1b499180ed..0c7e1d960ca49f025bd1412039f2b0c21a142fa4 100644 (file)
@@ -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,
 };