summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/pm.c
diff options
context:
space:
mode:
authorJonghwan Choi <jhbird.choi@samsung.com>2012-01-27 10:30:48 +0400
committerKukjin Kim <kgene.kim@samsung.com>2012-01-27 10:30:48 +0400
commit9a60571ecf918162553592ef8c4b4450155394a0 (patch)
treedc8d16bc7db889760929250b258083c7ed73802b /arch/arm/mach-exynos/pm.c
parent706212f3321a542db6847116563a46a96ef31816 (diff)
downloadlinux-9a60571ecf918162553592ef8c4b4450155394a0.tar.xz
ARM: EXYNOS: Fix "warning: initialization from incompatible pointer type"
Fix the wrong function prototype. Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/pm.c')
-rw-r--r--arch/arm/mach-exynos/pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index 2521b23553eb..e19013051772 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch/arm/mach-exynos/pm.c
@@ -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;