From: Mark Brown Date: Mon, 7 Feb 2011 01:51:04 +0000 (+0900) Subject: ARM: SAMSUNG: Ensure struct sys_device is declared in plat/pm.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a09e2b21cab92e98728c16f0e6f456f723dadf8b;p=openwrt%2Fstaging%2Fblogic.git ARM: SAMSUNG: Ensure struct sys_device is declared in plat/pm.h 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 Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/plat-samsung/include/plat/pm.h b/arch/arm/plat-samsung/include/plat/pm.h index d9025e377675..30518cc9a67c 100644 --- a/arch/arm/plat-samsung/include/plat/pm.h +++ b/arch/arm/plat-samsung/include/plat/pm.h @@ -17,6 +17,8 @@ #include +struct sys_device; + #ifdef CONFIG_PM extern __init int s3c_pm_init(void);