Skip to contentSkip to conversation

ARM: SAMSUNG: Remove static of S5P SoCs sysclass

PATCH In review Kukjin Kim 2 participants 2 messages May 11, 2010

Subsystems (3)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

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.

---
 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
index 1794131..ca3b320 100644
@@ -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
index bc2524d..a48fb55 100644
@@ -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
index 0e0f8fd..2b776eb 100644
@@ -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
index d316b4a..c54f318 100644
@@ -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
#1 lore raw
Quoted 2 lines · Kukjin Kim

This patch removes static of s5p6440_sysclass, s5p6442_sysclass, and s5pv210_sysclass for defintion as extern.

I assume that this is for some driver comming soon?

Quoted 68 lines
---
 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
index 1794131..ca3b320 100644
@@ -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
index bc2524d..a48fb55 100644
@@ -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
index 0e0f8fd..2b776eb 100644
@@ -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
index d316b4a..c54f318 100644
@@ -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.