From: ben-linux@fluff.org (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 01/10] S3C64XX I2S: S3C64XX_PA_IISV4 defined
Date: Wed, 16 Sep 2009 01:09:25 +0100 [thread overview]
Message-ID: <20090916000925.GB24720@trinity.fluff.org> (raw)
In-Reply-To: <1253008953-10441-1-git-send-email-jassi.brar@samsung.com>
On Tue, Sep 15, 2009 at 07:02:33PM +0900, Jassi wrote:
> Defined the missing S3C64XX_PA_IISV4 conditionally for 6410 as
> it's not avaialble for 6400
>
> Signed-Off-by: Jassi <jassi.brar@samsung.com>
> ---
> arch/arm/mach-s3c6400/include/mach/map.h | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-s3c6400/include/mach/map.h b/arch/arm/mach-s3c6400/include/mach/map.h
> index 5057d99..775577a 100644
> --- a/arch/arm/mach-s3c6400/include/mach/map.h
> +++ b/arch/arm/mach-s3c6400/include/mach/map.h
> @@ -44,6 +44,9 @@
> #define S3C64XX_PA_SYSCON (0x7E00F000)
> #define S3C64XX_PA_IIS0 (0x7F002000)
> #define S3C64XX_PA_IIS1 (0x7F003000)
> +#ifdef CONFIG_CPU_S3C6410
> +#define S3C64XX_PA_IISV4 (0x7F00D000)
> +#endif
Does this really need to be #ifdef'd out? You might want to avoid
building the device setup code, or similar if it is only for a s3c6400
but this should be done by the machine Kconfig chosing to build the
support in for the machines that do need it.
I see no good reason for this to be applied.
> #define S3C64XX_PA_TIMER (0x7F006000)
> #define S3C64XX_PA_IIC0 (0x7F004000)
> #define S3C64XX_PA_IIC1 (0x7F00F000)
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
next prev parent reply other threads:[~2009-09-16 0:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-15 10:02 [PATCH 01/10] S3C64XX I2S: S3C64XX_PA_IISV4 defined Jassi
2009-09-15 10:17 ` Mark Brown
2009-09-16 0:09 ` Ben Dooks [this message]
2009-09-16 0:50 ` jassi brar
2009-09-16 1:07 ` Ben Dooks
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=20090916000925.GB24720@trinity.fluff.org \
--to=ben-linux@fluff.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).