ARM: SAMSUNG: Ensure struct sys_device is declared in plat/pm.h
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 7 Feb 2011 01:51:04 +0000 (10:51 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 11 Feb 2011 01:25:57 +0000 (10:25 +0900)
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@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/pm.h

index d9025e3..30518cc 100644 (file)
@@ -17,6 +17,8 @@
 
 #include <linux/irq.h>
 
+struct sys_device;
+
 #ifdef CONFIG_PM
 
 extern __init int s3c_pm_init(void);