Updated irq-handler to correspond to the prototype change of
commit
bd0b9ac405e1 ("genirq: Remove irq argument from irq flow
handlers").
Signed-off-by: Topi Kuutela <topi.kuutela@murata.com>
Tested-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* @irq: gpio irq number
* @desc: Pointer to interrupt description
*/
-static void xgpio_irqhandler(unsigned int irq, struct irq_desc *desc)
+static void xgpio_irqhandler(struct irq_desc *desc)
{
+ unsigned int irq = irq_desc_get_irq(desc);
+
struct xgpio_instance *chip = (struct xgpio_instance *)
irq_get_handler_data(irq);
struct of_mm_gpio_chip *mm_gc = &chip->mmchip;