ARM: S5PV210: Fix sysdev related warning messages
Subsystems (3)
PATCH 1/1 ARM: S5PV210: Fix sysdev related warning messages
From: Abhilash Kesavan <[email protected]>
This patch fixes following warning messages when CONFIG_PM selected.
In file included from arch/arm/mach-s5pv210/mach-smdkv210.c:34:arch/arm/plat-samsung/include/plat/pm.h:104: warning: 'struct sys_device' declared inside parameter list arch/arm/plat-samsung/include/plat/pm.h:104: warning: its scope is only this definition or declaration, which is probably not what you want arch/arm/plat-samsung/include/plat/pm.h:105: warning: 'struct sys_device' declared inside parameter list
In file included from arch/arm/mach-s5pv210/mach-smdkc110.c:31:arch/arm/plat-samsung/include/plat/pm.h:104: warning: 'struct sys_device' declared inside parameter list arch/arm/plat-samsung/include/plat/pm.h:104: warning: its scope is only this definition or declaration, which is probably not what you want arch/arm/plat-samsung/include/plat/pm.h:105: warning: 'struct sys_device' declared inside parameter list arch/arm/plat-samsung/pm.c:217: warning: 's3c_pm_show_resume_irqs' defined but not used
--- arch/arm/mach-s5pv210/mach-smdkc110.c | 1 + arch/arm/mach-s5pv210/mach-smdkv210.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-s5pv210/mach-smdkc110.c +1 -0
@@ -13,6 +13,7 @@#include <linux/init.h> #include <linux/serial_core.h> #include <linux/i2c.h> +#include <linux/sysdev.h> #include <asm/mach/arch.h> #include <asm/mach/map.h>
arch/arm/mach-s5pv210/mach-smdkv210.c +1 -0
@@ -13,6 +13,7 @@#include <linux/i2c.h> #include <linux/init.h> #include <linux/serial_core.h> +#include <linux/sysdev.h> #include <asm/mach/arch.h> #include <asm/mach/map.h>
Signature · 1 line
1.6.2.5
Quoted 9 lines · Sangbeom Kim
From: Abhilash Kesavan <[email protected]>
This patch fixes following warning messages when
CONFIG_PMselected.In file included from
arch/arm/mach-s5pv210/mach-smdkv210.c:34:arch/arm/plat-samsung/include/plat/pm.h:104: warning: 'structsys_device' declared inside parameter listarch/arm/plat-samsung/include/plat/pm.h:104: warning: its scope is only
this
Quoted 8 lines
definition or declaration, which is probably not what you want
arch/arm/plat-samsung/include/plat/pm.h:105: warning: 'structsys_device' declared inside parameter listIn file included from
arch/arm/mach-s5pv210/mach-smdkc110.c:31:arch/arm/plat-samsung/include/plat/pm.h:104: warning: 'structsys_device' declared inside parameter listarch/arm/plat-samsung/include/plat/pm.h:104: warning: its scope is only
this
Quoted 32 lines
definition or declaration, which is probably not what you want
arch/arm/plat-samsung/include/plat/pm.h:105: warning: 'structsys_device' declared inside parameter listarch/arm/plat-samsung/pm.c:217: warning: 's3c_pm_show_resume_irqs' defined but not usedSigned-off-by Abhilash Kesavan <[email protected]>Signed-off-by Sangbeom Kim <[email protected]>--- arch/arm/mach-s5pv210/mach-smdkc110.c | 1 + arch/arm/mach-s5pv210/mach-smdkv210.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)arch/arm/mach- renamed from arch/arm/mach-s5pv210/mach-smdkc110.c +0
-0
s5pv210/mach-smdkc110.c
index 0ad7924..5dd1681 100644arch/arm/mach-s5pv210/mach-smdkc110.c +1
-0@@ -13,6 +13,7 @@#include <linux/init.h> #include <linux/serial_core.h> #include <linux/i2c.h> +#include <linux/sysdev.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> arch/arm/mach- renamed from arch/arm/mach-s5pv210/mach-smdkv210.c +0
-0
s5pv210/mach-smdkv210.c
index bcd7a5d..1fbc45b 100644
arch/arm/mach-s5pv210/mach-smdkv210.c
Quoted 8 lines
arch/arm/mach-s5pv210/mach-smdkv210.c +1
-1@@ -13,6 +13,7 @@#include <linux/i2c.h> #include <linux/init.h> #include <linux/serial_core.h> +#include <linux/sysdev.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> --
Ok..will apply.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.