summaryrefslogtreecommitdiff
path: root/arch/mips/pic32/pic32mzda/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pic32/pic32mzda/time.c')
-rw-r--r--arch/mips/pic32/pic32mzda/time.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/pic32/pic32mzda/time.c b/arch/mips/pic32/pic32mzda/time.c
index 7174e9abbb1b..777b515c52c8 100644
--- a/arch/mips/pic32/pic32mzda/time.c
+++ b/arch/mips/pic32/pic32mzda/time.c
@@ -32,6 +32,9 @@ static unsigned int pic32_xlate_core_timer_irq(void)
goto default_map;
irq = irq_of_parse_and_map(node, 0);
+
+ of_node_put(node);
+
if (!irq)
goto default_map;