From: Jonghwan Choi Date: Fri, 27 Jan 2012 06:30:48 +0000 (+0900) Subject: ARM: EXYNOS: Fix "warning: initialization from incompatible pointer type" X-Git-Tag: firefly_0821_release~3680^2~3513^2~7^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9a60571ecf918162553592ef8c4b4450155394a0;p=firefly-linux-kernel-4.4.55.git ARM: EXYNOS: Fix "warning: initialization from incompatible pointer type" Fix the wrong function prototype. Signed-off-by: Jonghwan Choi Signed-off-by: Kukjin Kim --- 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;