[PATCH] mfd: Fix ASIC3 build with GENERIC_HARDIRQS_NO_DEPRECATED

From: Lennert Buytenhek
Date: Fri Jan 21 2011 - 20:08:43 EST


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/