Commit b4719cd6 authored by Ramax Lo's avatar Ramax Lo Committed by Ben Dooks

ARM: 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)
Signed-off-by: default avatarRamax Lo <ramaxlo@gmail.com>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 964fe080
...@@ -27,6 +27,7 @@ extern void s3c2410_init_clocks(int xtal); ...@@ -27,6 +27,7 @@ extern void s3c2410_init_clocks(int xtal);
#define s3c2410_init_uarts NULL #define s3c2410_init_uarts NULL
#define s3c2410_map_io NULL #define s3c2410_map_io NULL
#define s3c2410_init NULL #define s3c2410_init NULL
#define s3c2410a_init NULL
#endif #endif
extern int s3c2410_baseclk_add(void); extern int s3c2410_baseclk_add(void);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment