diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 6ce72aa6542596e50c24d06d2177f7ac8b474774..ab21c846eb273b515da3723b443bd6bbdfcb2c10 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -476,7 +476,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; diff --git a/scripts/dtc/dtx_diff b/scripts/dtc/dtx_diff index fb86f3899e1622008dee15ea70086af4788a53ca..f9a3d8d23c644a536ce0c9aaeed2c04b580af2f4 100755 --- a/scripts/dtc/dtx_diff +++ b/scripts/dtc/dtx_diff @@ -321,7 +321,7 @@ fi cpp_flags="\ -nostdinc \ -I${srctree}/arch/${ARCH}/boot/dts \ - -I${srctree}/arch/${ARCH}/boot/dts/include \ + -I${srctree}/scripts/dtc/include-prefixes \ -I${srctree}/drivers/of/testcase-data \ -undef -D__DTS__"