Skip to contentSkip to conversation

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

PATCH New Mark Brown 2 participants 2 messages Feb 3, 2011 – Feb 7, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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().

---
 arch/arm/plat-samsung/include/plat/pm.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/plat-samsung/include/plat/pm.h +2 -0
index d9025e3..30518cc 100644
@@ -17,6 +17,8 @@
 
 #include <linux/irq.h>
 
+struct sys_device;
+
 #ifdef CONFIG_PM
 
 extern __init int s3c_pm_init(void);
Signature · 1 line
1.7.2.3
#1 lore raw

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

Quoted 15 lines · Mark Brown

Previously we were relying on it being pulled in by other headers for the prototype of s3c24xx_irq_suspend() and s3c24xx_irq_resume().

---
 arch/arm/plat-samsung/include/plat/pm.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/plat- renamed from arch/arm/plat-samsung/include/plat/pm.h +0 -0

samsung/include/plat/pm.h
index d9025e3..30518cc 100644

arch/arm/plat-samsung/include/plat/pm.h

Quoted 9 lines
arch/arm/plat-samsung/include/plat/pm.h +2 -1
@@ -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 <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.