summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/mach-ncp.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2011-12-22 23:27:42 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-12-23 20:07:55 +0100
commitb024043b6d0d3feecb1de350de9762a00a79eda1 (patch)
tree3332b1af6ee802cc3bc8b6911d7f88754bf307ab /arch/arm/mach-s3c64xx/mach-ncp.c
parentARM: 7179/1: nomadik: localize cpu-8815 header (diff)
downloadlinux-b024043b6d0d3feecb1de350de9762a00a79eda1.tar.xz
linux-b024043b6d0d3feecb1de350de9762a00a79eda1.zip
ARM: 7245/1: S3C64XX: introduce arch/arm/mach-s3c64xx/common.[ch]
This patch introduces common.[ch] which are used only in the arch/arm/mach-s3c64xx/ directory. The common.c file merges the cpu.c, irq.c and irq-eint.c which are used commonly on S3C64XX SoCs and the common.h file replaces with plat/s3c6400.h and plat/s3c6410.h files. Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-ncp.c')
-rw-r--r--arch/arm/mach-s3c64xx/mach-ncp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-ncp.c b/arch/arm/mach-s3c64xx/mach-ncp.c
index cb13cba98b3d..3e2391a98570 100644
--- a/arch/arm/mach-s3c64xx/mach-ncp.c
+++ b/arch/arm/mach-s3c64xx/mach-ncp.c
@@ -39,12 +39,13 @@
#include <plat/iic.h>
#include <plat/fb.h>
-#include <plat/s3c6410.h>
#include <plat/clock.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/regs-fb-v4.h>
+#include "common.h"
+
#define UCON S3C2410_UCON_DEFAULT
#define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE
#define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE