Skip to contentSkip to conversation

mfd: asic3: fix build breakage from 52a7d607

PATCH In review Philipp Zabel 2 participants 2 messages Apr 20, 2011 – May 2, 2011 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: asic3: fix build breakage from 52a7d607

The struct irq_data pointer is called data, not irq_data. Also, use irq_data_get_chip() instead of data->chip directly.

---
 drivers/mfd/asic3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/asic3.c +1 -1
index d4a851c..05a9c9d 100644
@@ -144,7 +144,7 @@ static void asic3_irq_demux(unsigned int irq, struct irq_desc *desc)
 	int iter, i;
 	unsigned long flags;
 
-	data->chip->irq_ack(irq_data);
+	irq_data_get_irq_chip(data)->irq_ack(data);
 
 	for (iter = 0 ; iter < MAX_ASIC_ISR_LOOPS; iter++) {
 		u32 status;
Signature · 1 line
1.7.4.4
#1 lore raw

Hi Philipp,

Quoted 2 lines · Philipp Zabel

The struct irq_data pointer is called data, not irq_data. Also, use irq_data_get_chip() instead of data->chip directly.

Thanks, this one is already queued on my for-linus branch.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/