mfd: Fix ASIC3 build with GENERIC_HARDIRQS_NO_DEPRECATED
authorLennert Buytenhek <buytenh@wantstofly.org>
Sat, 22 Jan 2011 01:08:30 +0000 (02:08 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 2 Mar 2011 09:57:49 +0000 (10:57 +0100)
Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/asic3.c

index 6a1f9404261277991099dbf446cd949b83ce5dcc..c45e6305b26f464025430e0ce6c77df93ae09af3 100644 (file)
@@ -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;