On Tue, Aug 16, 2011 at 07:11:26PM +0900, Simon Horman wrote:
> This is intended to make it easier to correctly order IRQs.
> 
> As suggested by Guennadi Liakhovetski.
> 
> Cc: Guennadi Liakhovetski <g.liakhovet...@gmx.de>
> Cc: Magnus Damm <magnus.d...@gmail.com>
> Signed-off-by: Simon Horman <ho...@verge.net.au>
> 
> ---
> 
> Depends on "mmc: sdhi: Make use of per-source irq handlers"
> ---
>  arch/arm/mach-shmobile/board-ag5evm.c   |   12 ++++++------
>  arch/arm/mach-shmobile/board-mackerel.c |   18 +++++++++---------
>  2 files changed, 15 insertions(+), 15 deletions(-)
> 
> diff --git a/arch/arm/mach-shmobile/board-ag5evm.c 
> b/arch/arm/mach-shmobile/board-ag5evm.c
> index ce5c251..c687f67 100644
> --- a/arch/arm/mach-shmobile/board-ag5evm.c
> +++ b/arch/arm/mach-shmobile/board-ag5evm.c
> @@ -352,15 +352,15 @@ static struct resource sdhi0_resources[] = {
>               .end    = 0xee1000ff,
>               .flags  = IORESOURCE_MEM,
>       },
> -     [1] = {
> +     [1 + SH_MOBILE_SDHI_IRQ_SDCARD] = {
>               .start  = gic_spi(83),
>               .flags  = IORESOURCE_IRQ,
>       },
> -     [2] = {
> +     [1 + SH_MOBILE_SDHI_IRQ_CARD_DETECT] = {
>               .start  = gic_spi(84),
>               .flags  = IORESOURCE_IRQ,
>       },
> -     [3] = {
> +     [1 + SH_MOBILE_SDHI_IRQ_SDIO] = {
>               .start  = gic_spi(85),
>               .flags  = IORESOURCE_IRQ,
>       },

how about naming the irqs?

-- 
Ben Dooks, b...@fluff.org, http://www.fluff.org/ben/

Large Hadron Colada: A large Pina Colada that makes the universe disappear.

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to