aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/pm.c
diff options
context:
space:
mode:
authorJonghwan Choi <jhbird.choi@samsung.com>2012-01-27 15:30:48 +0900
committerKukjin Kim <kgene.kim@samsung.com>2012-01-27 15:30:48 +0900
commit9a60571ecf918162553592ef8c4b4450155394a0 (patch)
treedc8d16bc7db889760929250b258083c7ed73802b /arch/arm/mach-exynos/pm.c
parentARM: S5PV210: Fix the name of exynos4_clk_hdmiphy_ctrl() for S5PV210 (diff)
downloadlinux-dev-9a60571ecf918162553592ef8c4b4450155394a0.tar.xz
linux-dev-9a60571ecf918162553592ef8c4b4450155394a0.zip
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;