Skip to contentSkip to conversation

ARM: S3C64XX: Staticise s3c6400_sysclass

PATCH New Mark Brown 2 participants 2 messages Nov 28, 2011 – Dec 1, 2011

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ARM: S3C64XX: Staticise s3c6400_sysclass

The symbol is not exported and doesn't need to be.

---
 arch/arm/mach-s3c64xx/s3c6400.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-s3c64xx/s3c6400.c +1 -1
index 7a3bc32..51c00f2 100644
@@ -70,7 +70,7 @@ void __init s3c6400_init_irq(void)
 	s3c64xx_init_irq(~0 & ~(0xf << 5), ~0);
 }
 
-struct sysdev_class s3c6400_sysclass = {
+static struct sysdev_class s3c6400_sysclass = {
 	.name	= "s3c6400-core",
 };
 
Signature · 1 line
1.7.7.3
#1 lore raw

PATCH 1/1 ARM: S3C64XX: Staticise s3c6400_sysclass

Quoted 23 lines · Mark Brown

The symbol is not exported and doesn't need to be.

---
 arch/arm/mach-s3c64xx/s3c6400.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach- renamed from arch/arm/mach-s3c64xx/s3c6400.c +0 -0

s3c64xx/s3c6400.c
index 7a3bc32..51c00f2 100644

arch/arm/mach-s3c64xx/s3c6400.c +1 -2
@@ -70,7 +70,7 @@ void __init s3c6400_init_irq(void)
 	s3c64xx_init_irq(~0 & ~(0xf << 5), ~0);
 }
 
-struct sysdev_class s3c6400_sysclass = {
+static struct sysdev_class s3c6400_sysclass = {
 	.name	= "s3c6400-core",
 };
 
--
Quoted 1 line

1.7.7.3

Yes! Will apply :)

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.