[PATCH] ARM: SAMSUNG: Ensure struct sys_device is declared in plat/pm.h

Kukjin Kim kgene.kim at samsung.com
Mon Feb 7 00:42:15 EST 2011


Mark Brown wrote:
> 
> Previously we were relying on it being pulled in by other headers for
> the prototype of s3c24xx_irq_suspend() and s3c24xx_irq_resume().
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
>  arch/arm/plat-samsung/include/plat/pm.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-samsung/include/plat/pm.h b/arch/arm/plat-
> samsung/include/plat/pm.h
> index d9025e3..30518cc 100644
> --- a/arch/arm/plat-samsung/include/plat/pm.h
> +++ b/arch/arm/plat-samsung/include/plat/pm.h
> @@ -17,6 +17,8 @@
> 
>  #include <linux/irq.h>
> 
> +struct sys_device;
> +
>  #ifdef CONFIG_PM
> 
>  extern __init int s3c_pm_init(void);
> --

Ok..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