ramips: fix use remove_irq to release irqaction resource
[openwrt/openwrt.git] / target / linux / ramips / patches-3.18 / 0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
index 310d3620169fbe311ccb87f4a5ebfca42e246b70..6bf0401f06d8bd0a351d7b02908d8a6786e30d8e 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +                      break;
 +
 +              cp0_timer_irq_installed = 0;
-+              free_irq(evt->irq, &c0_compare_irqaction);
++              remove_irq(evt->irq, &c0_compare_irqaction);
 +              break;
 +
 +      default: