From: Lars-Peter Clausen <lars@metafoo.de>
Date: Mon, 19 Sep 2011 14:17:55 +0000 (+0200)
Subject: mfd: Fix generic irq chip ack function name for jz4740-adc
X-Git-Tag: firefly_0821_release~3680^2~4388^2
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6fcb8a3a3a542ca078dc739fe0ea97191bc59e74;p=firefly-linux-kernel-4.4.55.git

mfd: Fix generic irq chip ack function name for jz4740-adc

In commit 659fb32d1b6("genirq: replace irq_gc_ack() with {set,clr}_bit
variants"), irq_gc_ack was renamed to irq_gc_ack_set_bit. The jz4740-adc
driver still uses the old name which results in a compile error.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
---

diff --git a/drivers/mfd/jz4740-adc.c b/drivers/mfd/jz4740-adc.c
index 21131c7b0f1e..563654c9b19e 100644
--- a/drivers/mfd/jz4740-adc.c
+++ b/drivers/mfd/jz4740-adc.c
@@ -273,7 +273,7 @@ static int __devinit jz4740_adc_probe(struct platform_device *pdev)
 	ct->regs.ack = JZ_REG_ADC_STATUS;
 	ct->chip.irq_mask = irq_gc_mask_set_bit;
 	ct->chip.irq_unmask = irq_gc_mask_clr_bit;
-	ct->chip.irq_ack = irq_gc_ack;
+	ct->chip.irq_ack = irq_gc_ack_set_bit;
 
 	irq_setup_generic_chip(gc, IRQ_MSK(5), 0, 0, IRQ_NOPROBE | IRQ_LEVEL);