summaryrefslogtreecommitdiff
path: root/arch/arm/plat-s3c24xx/include/plat/s3c244x.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-01-26 16:54:21 +0900
committerBen Dooks <ben-linux@fluff.org>2010-02-01 17:56:46 +0000
commit84c9b7271a0af08c4e5fce3901a0ad3d952036bc (patch)
tree01972531603d1b6775547d64a56ac3bdec3806a6 /arch/arm/plat-s3c24xx/include/plat/s3c244x.h
parent58bac7b8ded70c39bcd5f7037091051c277618aa (diff)
downloadlwn-84c9b7271a0af08c4e5fce3901a0ad3d952036bc.tar.gz
lwn-84c9b7271a0af08c4e5fce3901a0ad3d952036bc.zip
ARM: S3C244X: Merge plat-s3c24xx s3c2440.h and s3c2442.h into s3c244x.h
Merge these two headers into one, these two SoCs are so similar. Note, correct fault in mach-smdk2443.h including the wrong header. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx/include/plat/s3c244x.h')
-rw-r--r--arch/arm/plat-s3c24xx/include/plat/s3c244x.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/include/plat/s3c244x.h b/arch/arm/plat-s3c24xx/include/plat/s3c244x.h
index 8da0904c41ab..307248d1ccbb 100644
--- a/arch/arm/plat-s3c24xx/include/plat/s3c244x.h
+++ b/arch/arm/plat-s3c24xx/include/plat/s3c244x.h
@@ -23,3 +23,15 @@ extern void s3c244x_init_clocks(int xtal);
#define s3c244x_init_uarts NULL
#define s3c244x_map_io NULL
#endif
+
+#ifdef CONFIG_CPU_S3C2440
+extern int s3c2440_init(void);
+#else
+#define s3c2440_init NULL
+#endif
+
+#ifdef CONFIG_CPU_S3C2442
+extern int s3c2442_init(void);
+#else
+#define s3c2442_init NULL
+#endif