ARM: S3C24XX: Define a macro to avoid compilation error
authorRamax Lo <ramaxlo@gmail.com>
Mon, 21 Sep 2009 16:04:16 +0000 (00:04 +0800)
committerBen Dooks <ben-linux@fluff.org>
Wed, 28 Oct 2009 18:25:56 +0000 (18:25 +0000)
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)

Signed-off-by: Ramax Lo <ramaxlo@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c24xx/include/plat/s3c2410.h

index b6deeef8f6637d62c5e50387164a4db0ae1578d0..82ab4aad1bbe03ae664e176a93f5840a9467e990 100644 (file)
@@ -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);
This page took 0.025559 seconds and 5 git commands to generate.