projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'devicetree-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git]
/
drivers
/
of
/
irq.c
diff --git
a/drivers/of/irq.c
b/drivers/of/irq.c
index
aa2a60c
..
ec00ae7
100644
(file)
--- a/
drivers/of/irq.c
+++ b/
drivers/of/irq.c
@@
-461,7
+461,7
@@
int of_irq_to_resource_table(struct device_node *dev, struct resource *res,
int i;
for (i = 0; i < nr_irqs; i++, res++)
- if (
!of_irq_to_resource(dev, i, res)
)
+ if (
of_irq_to_resource(dev, i, res) <= 0
)
break;
return i;