ARM: EXYNOS: Fix "warning: initialization from incompatible pointer type"
authorJonghwan Choi <jhbird.choi@samsung.com>
Fri, 27 Jan 2012 06:30:48 +0000 (15:30 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 27 Jan 2012 06:30:48 +0000 (15:30 +0900)
Fix the wrong function prototype.

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/pm.c

index 2521b23..e190130 100644 (file)
@@ -206,7 +206,7 @@ static void exynos4_pm_prepare(void)
 
 }
 
-static int exynos4_pm_add(struct device *dev)
+static int exynos4_pm_add(struct device *dev, struct subsys_interface *sif)
 {
        pm_cpu_prep = exynos4_pm_prepare;
        pm_cpu_sleep = exynos4_cpu_suspend;