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 d9025e377675b6c323d28355b616d0c718cd1c9d..30518cc9a67cf0c6dc130979036637b54da0c513 100644 (file)
@@ -17,6 +17,8 @@
 
 #include <linux/irq.h>
 
+struct sys_device;
+
 #ifdef CONFIG_PM
 
 extern __init int s3c_pm_init(void);