From: John Crispin <john@openwrt.org>
Date: Mon, 5 Oct 2015 10:27:04 +0000 (+0000)
Subject: ramips: fix use remove_irq to release irqaction resource
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=10f75a2b7fbb4df436c99a61697a9873304c1ce5;p=openwrt%2Fstaging%2Fnbd.git

ramips: fix use remove_irq to release irqaction resource

Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47121
---

diff --git a/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch b/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
index 310d362016..6bf0401f06 100644
--- a/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
+++ b/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch
@@ -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: