ARM: SAMSUNG: Remove static of S5P SoCs sysclass
Subsystems (3)
PATCH 1/1 ARM: SAMSUNG: Remove static of S5P SoCs sysclass
This patch removes static of s5p6440_sysclass, s5p6442_sysclass, and s5pv210_sysclass for defintion as extern.
Signed-off-by Kukjin Kim <[email protected]>
--- arch/arm/mach-s5p6440/cpu.c | 2 +- arch/arm/mach-s5p6442/cpu.c | 2 +- arch/arm/mach-s5pv210/cpu.c | 2 +- arch/arm/plat-samsung/include/plat/cpu.h | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-)
arch/arm/mach-s5p6440/cpu.c +1 -1
@@ -88,7 +88,7 @@ void __init s5p6440_init_irq(void)s5p_init_irq (vic,ARRAY_SIZE (vic)); } -static struct sysdev_class s5p6440_sysclass = { +struct sysdev_class s5p6440_sysclass = { .name ="s5p6440-core" , };
arch/arm/mach-s5p6442/cpu.c +1 -1
@@ -95,7 +95,7 @@ void __init s5p6442_init_irq(void)s5p_init_irq (vic,ARRAY_SIZE (vic)); } -static struct sysdev_class s5p6442_sysclass = { +struct sysdev_class s5p6442_sysclass = { .name ="s5p6442-core" , };
arch/arm/mach-s5pv210/cpu.c +1 -1
@@ -100,7 +100,7 @@ void __init s5pv210_init_irq(void)s5p_init_irq (vic,ARRAY_SIZE (vic)); } -static struct sysdev_class s5pv210_sysclass = { +struct sysdev_class s5pv210_sysclass = { .name ="s5pv210-core" , };
arch/arm/plat-samsung/include/plat/cpu.h +3 -0
@@ -78,6 +78,9 @@ extern struct sysdev_class s3c2442_sysclass;extern struct sysdev_class s3c2443_sysclass;extern struct sysdev_class s3c6410_sysclass;extern struct sysdev_class s3c64xx_sysclass; +extern struct sysdev_class s5p6440_sysclass; +extern struct sysdev_class s5p6442_sysclass; +extern struct sysdev_class s5pv210_sysclass;extern void (*s5pc1xx_idle)(void );
Signature · 1 line
1.6.2.5
Quoted 2 lines · Kukjin Kim
This patch removes static of
s5p6440_sysclass,s5p6442_sysclass, ands5pv210_sysclassfor defintion as extern.
I assume that this is for some driver comming soon?
Quoted 68 lines
Signed-off-by Kukjin Kim <[email protected]>--- arch/arm/mach-s5p6440/cpu.c | 2 +- arch/arm/mach-s5p6442/cpu.c | 2 +- arch/arm/mach-s5pv210/cpu.c | 2 +- arch/arm/plat-samsung/include/plat/cpu.h | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-)arch/arm/mach-s5p6440/cpu.c +1
-1@@ -88,7 +88,7 @@ void __init s5p6440_init_irq(void)s5p_init_irq (vic,ARRAY_SIZE (vic)); } -static struct sysdev_class s5p6440_sysclass = { +struct sysdev_class s5p6440_sysclass = { .name ="s5p6440-core" , };arch/arm/mach-s5p6442/cpu.c +1
-1@@ -95,7 +95,7 @@ void __init s5p6442_init_irq(void)s5p_init_irq (vic,ARRAY_SIZE (vic)); } -static struct sysdev_class s5p6442_sysclass = { +struct sysdev_class s5p6442_sysclass = { .name ="s5p6442-core" , };arch/arm/mach-s5pv210/cpu.c +1
-1@@ -100,7 +100,7 @@ void __init s5pv210_init_irq(void)s5p_init_irq (vic,ARRAY_SIZE (vic)); } -static struct sysdev_class s5pv210_sysclass = { +struct sysdev_class s5pv210_sysclass = { .name ="s5pv210-core" , };arch/arm/plat-samsung/include/plat/cpu.h +3
-0@@ -78,6 +78,9 @@ extern struct sysdev_class s3c2442_sysclass;extern struct sysdev_class s3c2443_sysclass;extern struct sysdev_class s3c6410_sysclass;extern struct sysdev_class s3c64xx_sysclass; +extern struct sysdev_class s5p6440_sysclass; +extern struct sysdev_class s5p6442_sysclass; +extern struct sysdev_class s5pv210_sysclass;extern void (*s5pc1xx_idle)(void );Signature · 6 lines
1.6.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 5 lines
-- Ben Q: What's a light-year? A: One-third less calories than a regular year.