]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: S5PV210: Fix build warning
authorAbhilash Kesavan <a.kesavan@samsung.com>
Sat, 13 Aug 2011 01:34:56 +0000 (10:34 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 18 Aug 2011 04:08:11 +0000 (13:08 +0900)
Fixed the following warning for S5PV210.

arch/arm/mach-s5pv210/pm.c: In function 's5pv210_pm_add':
arch/arm/mach-s5pv210/pm.c:139: warning: assignment from
incompatible pointer type

Also, staticized the function.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5pv210/pm.c

index 309e388a8a83388d711b1956f71aa74874a2cab0..f149d278377b8f28f29a53f55ba303e450bd6a55 100644 (file)
@@ -88,7 +88,7 @@ static struct sleep_save s5pv210_core_save[] = {
        SAVE_ITEM(S3C2410_TCNTO(0)),
 };
 
-void s5pv210_cpu_suspend(unsigned long arg)
+static int s5pv210_cpu_suspend(unsigned long arg)
 {
        unsigned long tmp;