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 2521b23553ebb32387f10c7b7404ed42c9e9bda5..e190130517727ea9bcdfb9541496922093a9d672 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;