summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-02-07 02:51:04 +0100
committerKukjin Kim <kgene.kim@samsung.com>2011-02-11 02:25:57 +0100
commita09e2b21cab92e98728c16f0e6f456f723dadf8b (patch)
treec35258c1e11eaee42678e4cd95883f2a1781481e /arch
parentARM: S5PV310: Cleanup System MMU (diff)
downloadlinux-a09e2b21cab92e98728c16f0e6f456f723dadf8b.tar.xz
linux-a09e2b21cab92e98728c16f0e6f456f723dadf8b.zip
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 <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-samsung/include/plat/pm.h2
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 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 <linux/irq.h>
+struct sys_device;
+
#ifdef CONFIG_PM
extern __init int s3c_pm_init(void);