From: "Heiko Stübner" <heiko@sntech.de>
To: kgene.kim@samsung.com
Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] ARM: S3C24XX: move plat-s3c24xx/cpu.c
Date: Mon, 7 May 2012 19:40:38 +0200 [thread overview]
Message-ID: <201205071940.38699.heiko@sntech.de> (raw)
In-Reply-To: <201205071939.37433.heiko@sntech.de>
Following the model of s3c64xx cpu.c becomes common.c in mach-s3c24xx,
to got more common code added later on.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
arch/arm/mach-s3c24xx/Makefile | 2 ++
.../{plat-s3c24xx/cpu.c => mach-s3c24xx/common.c} | 2 +-
arch/arm/plat-s3c24xx/Makefile | 1 -
3 files changed, 3 insertions(+), 2 deletions(-)
rename arch/arm/{plat-s3c24xx/cpu.c => mach-s3c24xx/common.c} (99%)
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile
index d0f3a92..d56b990 100644
--- a/arch/arm/mach-s3c24xx/Makefile
+++ b/arch/arm/mach-s3c24xx/Makefile
@@ -14,6 +14,8 @@ obj- :=
# core
+obj-y += common.o
+
obj-$(CONFIG_CPU_S3C2410) += s3c2410.o
obj-$(CONFIG_S3C2410_DMA) += dma-s3c2410.o
obj-$(CONFIG_S3C2410_PM) += pm-s3c2410.o sleep-s3c2410.o
diff --git a/arch/arm/plat-s3c24xx/cpu.c b/arch/arm/mach-s3c24xx/common.c
similarity index 99%
rename from arch/arm/plat-s3c24xx/cpu.c
rename to arch/arm/mach-s3c24xx/common.c
index 290942d..dc9927b 100644
--- a/arch/arm/plat-s3c24xx/cpu.c
+++ b/arch/arm/mach-s3c24xx/common.c
@@ -4,7 +4,7 @@
* http://www.simtec.co.uk/products/SWLINUX/
* Ben Dooks <ben@simtec.co.uk>
*
- * S3C24XX CPU Support
+ * Common code for S3C24XX machines
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/arch/arm/plat-s3c24xx/Makefile b/arch/arm/plat-s3c24xx/Makefile
index 2467b80..f7fe935 100644
--- a/arch/arm/plat-s3c24xx/Makefile
+++ b/arch/arm/plat-s3c24xx/Makefile
@@ -12,7 +12,6 @@ obj- :=
# Core files
-obj-y += cpu.o
obj-y += irq.o
obj-y += dev-uart.o
obj-y += clock.o
--
1.7.5.4
next prev parent reply other threads:[~2012-05-07 17:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-07 17:39 [PATCH 0/5] ARM: S3C24XX: move the easy parts to mach-s3c24xx from plat-s3c24xx Heiko Stübner
2012-05-07 17:40 ` Heiko Stübner [this message]
2012-05-07 17:41 ` [PATCH 2/5] ARM: S3C24XX: move plat-s3c24xx/irq.c into common.c Heiko Stübner
2012-05-07 19:59 ` Arnd Bergmann
2012-05-07 20:30 ` Heiko Stübner
2012-05-08 5:38 ` Kukjin Kim
2012-05-07 17:42 ` [PATCH 3/5] ARM: S3C24XX: move plat-s3c24xx/dev-uart.c " Heiko Stübner
2012-05-08 5:38 ` Kukjin Kim
2012-05-07 17:43 ` [PATCH 4/5] ARM: S3C24XX: move common power-management code to mach-s3c24xx Heiko Stübner
2012-05-07 17:44 ` [PATCH 5/5] ARM: S3C24XX: move common clock init into common.c Heiko Stübner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201205071940.38699.heiko@sntech.de \
--to=heiko@sntech.de \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox