Re: [PATCH] mfd: Fix ASIC3 build with GENERIC_HARDIRQS_NO_DEPRECATED

From: Ian Molton
Date: Wed Jan 26 2011 - 12:11:41 EST


Acked-by: Ian Molton <ian@xxxxxxxxxxxxxx>

:)

--
Ian Molton
Linux, Automotive, and other hacking:
http://www.mnementh.co.uk/



On 22 January 2011 01:08, Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx> wrote:
> Signed-off-by: Lennert Buytenhek <buytenh@xxxxxxxxxxxx>
>
> diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
> index 6a1f940..c45e630 100644
> --- a/drivers/mfd/asic3.c
> +++ b/drivers/mfd/asic3.c
> @@ -143,9 +143,9 @@ static void asic3_irq_demux(unsigned int irq, struct irq_desc *desc)
>        unsigned long flags;
>        struct asic3 *asic;
>
> -       desc->chip->ack(irq);
> +       desc->irq_data.chip->irq_ack(&desc->irq_data);
>
> -       asic = desc->handler_data;
> +       asic = get_irq_data(irq);
>
>        for (iter = 0 ; iter < MAX_ASIC_ISR_LOOPS; iter++) {
>                u32 status;
> --
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/