Skip to contentSkip to conversation

S3C24XX: Define a macro to avoid compilation error

PATCH New Ramax Lo 2 participants 2 messages Sep 21, 2009 – Sep 22, 2009

Subsystems (2)
lore
Share & tools
lore

Ramax Lo

author
#0 lore raw

PATCH 1/1 S3C24XX: Define a macro to avoid compilation error

Define a macro to avoid the following error during kernel build process for platforms other than s3c2410:

arch/arm/plat-s3c24xx/cpu.c:84: error: ?s3c2410a_init? undeclared here (not in a function)

---
 arch/arm/plat-s3c24xx/include/plat/s3c2410.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-s3c24xx/include/plat/s3c2410.h +1 -0
index b6deeef..82ab4aa 100644
@@ -27,6 +27,7 @@ extern void s3c2410_init_clocks(int xtal);
 #define s3c2410_init_uarts NULL
 #define s3c2410_map_io NULL
 #define s3c2410_init NULL
+#define s3c2410a_init NULL
 #endif
 
 extern int s3c2410_baseclk_add(void);
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 S3C24XX: Define a macro to avoid compilation error

Quoted 6 lines · Ramax Lo

Define a macro to avoid the following error during kernel build process for platforms other than s3c2410:

arch/arm/plat-s3c24xx/cpu.c:84: error: ???s3c2410a_init??? undeclared here (not in a function)

ok, applied to next-s3c24xx-fixes.

Signature · 4 lines
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.