From: eric.y.miao@gmail.com (Eric Miao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/7] ARM: pxa: align NR_BUILTIN_GPIO with GPIO interrupt number
Date: Tue, 12 Apr 2011 23:26:05 +0800 [thread overview]
Message-ID: <BANLkTin52H82cCmpxT0YobvHSiyOJLRkJA@mail.gmail.com> (raw)
In-Reply-To: <1302264944-2759-5-git-send-email-haojian.zhuang@marvell.com>
On Fri, Apr 8, 2011 at 8:15 PM, Haojian Zhuang
<haojian.zhuang@marvell.com> wrote:
> Avoid to mismatch between NR_BUILTIN_GPIO and GPIO interrupt number
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Applied to 'fix'.
> ---
> ?arch/arm/mach-pxa/include/mach/gpio.h | ? ?2 +-
> ?1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/include/mach/gpio.h b/arch/arm/mach-pxa/include/mach/gpio.h
> index b024a8b..48ef925 100644
> --- a/arch/arm/mach-pxa/include/mach/gpio.h
> +++ b/arch/arm/mach-pxa/include/mach/gpio.h
> @@ -99,7 +99,7 @@
> ?#define GAFR(x) ? ? ? ? ? ? ? ?GPIO_REG(0x54 + (((x) & 0x70) >> 2))
>
>
> -#define NR_BUILTIN_GPIO 128
> +#define NR_BUILTIN_GPIO ? ? ? ? ? ? ? ?PXA_GPIO_IRQ_NUM
>
> ?#define gpio_to_bank(gpio) ? ? ((gpio) >> 5)
> ?#define gpio_to_irq(gpio) ? ? ?IRQ_GPIO(gpio)
> --
> 1.5.6.5
>
>
next prev parent reply other threads:[~2011-04-12 15:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2011040801>
2011-04-08 12:15 ` [PATCH 1/7] ARM: pxa: add clk_set_rate() Haojian Zhuang
2011-04-08 12:15 ` [PATCH 2/7] ARM: pxa: always clear LPM bits for PXA168 MFPR Haojian Zhuang
2011-04-08 12:15 ` [PATCH 3/7] ARM: mmp: set correct uart according to board Haojian Zhuang
2011-04-08 12:15 ` [PATCH 4/7] ARM: mmp: update the reset implementation Haojian Zhuang
2011-04-08 12:15 ` [PATCH 5/7] ARM: pxa: align NR_BUILTIN_GPIO with GPIO interrupt number Haojian Zhuang
2011-04-08 12:15 ` [PATCH 6/7] ARM: mmp: align NR_BUILTIN_GPIO with gpio " Haojian Zhuang
2011-04-08 12:15 ` [PATCH 7/7] ARM: mmp: enable max7312 gpio expander in dkb Haojian Zhuang
2011-04-12 15:26 ` Eric Miao [this message]
2011-04-12 21:01 ` [PATCH 3/7] ARM: mmp: set correct uart according to board Russell King - ARM Linux
2011-04-13 1:20 ` Eric Miao
2011-04-12 15:24 ` [PATCH 2/7] ARM: pxa: always clear LPM bits for PXA168 MFPR Eric Miao
2011-04-20 10:32 ` [PATCH 1/7] ARM: pxa: add clk_set_rate() Eric Miao
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=BANLkTin52H82cCmpxT0YobvHSiyOJLRkJA@mail.gmail.com \
--to=eric.y.miao@gmail.com \
--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).