ARM: SAMSUNG: Ensure struct sys_device is declared in plat/pm.h
Subsystems (2)
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().
Signed-off-by Mark Brown <[email protected]>
--- 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
@@ -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
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()ands3c24xx_irq_resume().Signed-off-by Mark Brown <[email protected]>--- 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.