blackfin: Prepare irq handlers for irq argument removal
[firefly-linux-kernel-4.4.55.git] / arch / blackfin / mach-bf537 / ints-priority.c
index 2137a209a22bdc8f427c1e29c46cc42c97448e28..14b2f74554dc6de142955b98482cbd8c4ff3e76b 100644 (file)
@@ -182,9 +182,11 @@ static struct irq_chip bf537_mac_rx_irqchip = {
        .irq_unmask = bf537_mac_rx_unmask_irq,
 };
 
-static void bf537_demux_mac_rx_irq(unsigned int int_irq,
+static void bf537_demux_mac_rx_irq(unsigned int __int_irq,
                                   struct irq_desc *desc)
 {
+       unsigned int int_irq = irq_desc_get_irq(desc);
+
        if (bfin_read_DMA1_IRQ_STATUS() & (DMA_DONE | DMA_ERR))
                bfin_handle_irq(IRQ_MAC_RX);
        else