[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201403201622.27725.arnd@arndb.de>
Date: Thu, 20 Mar 2014 16:22:27 +0100
From: Arnd Bergmann <arnd@...db.de>
To: linux-arm-kernel@...ts.infradead.org
Cc: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>,
omap <linux-omap@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Tony Lindgren <tony@...mide.com>,
Russell King <rmk+kernel@....linux.org.uk>,
Ingo Molnar <mingo@...e.hu>, Shawn Guo <shawn.guo@...aro.org>
Subject: Re: [patch 08/26] arm: Replace various irq_desc accesses
On Sunday 23 February 2014, Thomas Gleixner wrote:
> --- tip.orig/arch/arm/mach-omap1/ams-delta-fiq.c
> +++ tip/arch/arm/mach-omap1/ams-delta-fiq.c
> @@ -44,13 +44,10 @@ static unsigned int irq_counter[16];
>
> static irqreturn_t deferred_fiq(int irq, void *dev_id)
> {
> - struct irq_desc *irq_desc;
> - struct irq_chip *irq_chip = NULL;
> int gpio, irq_num, fiq_count;
> + struct irq_chip *irq_chip;
>
> - irq_desc = irq_to_desc(gpio_to_irq(AMS_DELTA_GPIO_PIN_KEYBRD_CLK));
> - if (irq_desc)
> - irq_chip = irq_desc->irq_data.chip;
> + irq_chip = irq_get_irq_chip(gpio_to_irq(AMS_DELTA_GPIO_PIN_KEYBRD_CLK));
I got a compile error because irq_get_irq_chip() doesn't exist. I suppose
you meant irq_get_chip.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists