[PATCH] ARM: EXYNOS: Fix "warning: initialization from incompatible pointer type"
Kukjin Kim
kgene.kim at samsung.com
Fri Jan 27 03:15:49 EST 2012
jhbird.choi at samsung.com wrote:
>
> From: Jonghwan Choi <jhbird.choi at samsung.com>
>
> Fix the wrong function prototype.
>
> Signed-off-by: Jonghwan Choi <jhbird.choi at samsung.com>
> ---
> arch/arm/mach-exynos/pm.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
> index c4f792d..db33f47 100644
> --- a/arch/arm/mach-exynos/pm.c
> +++ b/arch/arm/mach-exynos/pm.c
> @@ -205,7 +205,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;
> --
> 1.7.1
Applied.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
More information about the linux-arm-kernel
mailing list