public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: asic3: fix build breakage from 52a7d607
@ 2011-04-20 20:00 Philipp Zabel
  2011-05-02 13:31 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2011-04-20 20:00 UTC (permalink / raw)
  To: LKML; +Cc: Samuel Ortiz

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

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
---
 drivers/mfd/asic3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
index d4a851c..05a9c9d 100644
--- a/drivers/mfd/asic3.c
+++ b/drivers/mfd/asic3.c
@@ -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;
-- 
1.7.4.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-02 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-20 20:00 [PATCH] mfd: asic3: fix build breakage from 52a7d607 Philipp Zabel
2011-05-02 13:31 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox