From: Abhilash Kesavan Date: Sat, 13 Aug 2011 01:34:56 +0000 (+0900) Subject: ARM: S5PV210: Fix build warning X-Git-Tag: next-20110819~76^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=95c9b76d66aef1dfe0b5fc8eb22cbe943310f4f5;p=karo-tx-linux.git ARM: S5PV210: Fix build warning 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 Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-s5pv210/pm.c b/arch/arm/mach-s5pv210/pm.c index 309e388a8a83..f149d278377b 100644 --- a/arch/arm/mach-s5pv210/pm.c +++ b/arch/arm/mach-s5pv210/pm.c @@ -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;