summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRamax Lo <ramaxlo@gmail.com>2009-09-22 00:04:16 +0800
committerBen Dooks <ben-linux@fluff.org>2009-10-28 18:25:56 +0000
commitb4719cd62707ca6f1a4d55b89066a7b9acc72347 (patch)
treebffcb767015df1b9caf293d5bb76e0c9a01ebb7d /arch
parent964fe080d94db82a3268443e9b9ece4c60246414 (diff)
downloadop-kernel-dev-b4719cd62707ca6f1a4d55b89066a7b9acc72347.zip
op-kernel-dev-b4719cd62707ca6f1a4d55b89066a7b9acc72347.tar.gz
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: Ramax Lo <ramaxlo@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-s3c24xx/include/plat/s3c2410.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/include/plat/s3c2410.h b/arch/arm/plat-s3c24xx/include/plat/s3c2410.h
index b6deeef..82ab4aad 100644
--- a/arch/arm/plat-s3c24xx/include/plat/s3c2410.h
+++ b/arch/arm/plat-s3c24xx/include/plat/s3c2410.h
@@ -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);
OpenPOWER on IntegriCloud