Skip to contentSkip to conversation

mfd: Fix ASIC3 build with GENERIC_HARDIRQS_NO_DEPRECATED

PATCH In review Lennert Buytenhek 3 participants 3 messages Jan 22, 2011 – Jan 31, 2011 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: Fix ASIC3 build with GENERIC_HARDIRQS_NO_DEPRECATED

drivers/mfd/asic3.c +2 -2
index 6a1f940..c45e630 100644
@@ -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;

--

Acked-by on v1 1/1
#1 lore raw

:)

Signature · 3 lines
Ian Molton
Linux, Automotive, and other hacking:
http://www.mnementh.co.uk/
Quoted 20 lines · Lennert Buytenhek
drivers/mfd/asic3.c +2 -3
index 6a1f940..c45e630 100644
@@ -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;
--