From: kmpark@infradead.org (Kyungmin Park)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] S5PV210/V310: OneNAND: Build only when s5pv210 or s5pv310 defined
Date: Wed, 28 Jul 2010 10:17:32 +0900 [thread overview]
Message-ID: <20100728011732.GA1890@july> (raw)
From: Kyungmin Park <kyungmin.park@samsung.com>
Build the OneNAND device when s5pv210 and s5pv310 defined
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
arch/arm/plat-s5p/dev-onenand.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-s5p/dev-onenand.c b/arch/arm/plat-s5p/dev-onenand.c
index 8d191c5..d34b4cb 100644
--- a/arch/arm/plat-s5p/dev-onenand.c
+++ b/arch/arm/plat-s5p/dev-onenand.c
@@ -21,6 +21,7 @@
#define S5PC110_PA_ONENAND (0xB0000000)
#define S5PC110_PA_ONENAND_DMA (0xB0600000)
+#if defined(CONFIG_ARCH_S5PV210) || defined(CONFIG_ARCH_S5PV310)
static struct resource s5pc110_onenand_resources[] = {
[0] = {
.start = S5PC110_PA_ONENAND,
@@ -38,6 +39,7 @@ static struct resource s5pc110_onenand_resources[] = {
.flags = IORESOURCE_IRQ,
},
};
+#endif
#ifdef CONFIG_ARCH_S5PV210
struct platform_device s5pc110_device_onenand = {
--
1.5.3.3
reply other threads:[~2010-07-28 1:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20100728011732.GA1890@july \
--to=kmpark@infradead.org \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).