From 03701b7a99e8fd2ae5bd8b50ae80ec8983dc5d87 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 16 Aug 2012 08:09:22 +0000 Subject: [PATCH] --- yaml --- r: 332227 b: refs/heads/master c: 70ec9054e7a65c878298666083f7d5b70ccf9032 h: refs/heads/master i: 332225: 79a4337abca6d2521daa1f8f691773390a3d4caa 332223: 1dd6d3f0b281e6b89caa93cf8e403aefd1e29dfe v: v3 --- [refs] | 2 +- trunk/arch/mips/lantiq/irq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 034ca26f7104..748bd5c7ed51 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9c1628b603ee9d2bb220be0400c5dc6950cf012b +refs/heads/master: 70ec9054e7a65c878298666083f7d5b70ccf9032 diff --git a/trunk/arch/mips/lantiq/irq.c b/trunk/arch/mips/lantiq/irq.c index 87f15d64afa2..f36acd1b3808 100644 --- a/trunk/arch/mips/lantiq/irq.c +++ b/trunk/arch/mips/lantiq/irq.c @@ -341,7 +341,7 @@ int __init icu_of_init(struct device_node *node, struct device_node *parent) /* the external interrupts are optional and xway only */ eiu_node = of_find_compatible_node(NULL, NULL, "lantiq,eiu"); - if (eiu_node && of_address_to_resource(eiu_node, 0, &res)) { + if (eiu_node && !of_address_to_resource(eiu_node, 0, &res)) { /* find out how many external irq sources we have */ const __be32 *count = of_get_property(node, "lantiq,count", NULL);