[PATCH 1/1] of: unittest: fix dts for interrupt-map provider build warning

From: frowand . list
Date: Thu Oct 28 2021 - 20:58:35 EST


From: Frank Rowand <frank.rowand@xxxxxxxx>

Fix kernel build warning:
drivers/of/unittest-data/tests-interrupts.dtsi:32.26-35.6: Warning (interrupt_map): /testcase-data/interrupts/intmap1: Missing '#address-cells' in interrupt-map provider

A recently implemented dtc compiler warning reported the dts problem.

Signed-off-by: Frank Rowand <frank.rowand@xxxxxxxx>
---
drivers/of/unittest-data/tests-interrupts.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/of/unittest-data/tests-interrupts.dtsi b/drivers/of/unittest-data/tests-interrupts.dtsi
index 9b60a549f502..8c2b91b998aa 100644
--- a/drivers/of/unittest-data/tests-interrupts.dtsi
+++ b/drivers/of/unittest-data/tests-interrupts.dtsi
@@ -31,6 +31,7 @@ test_intmap0: intmap0 {

test_intmap1: intmap1 {
#interrupt-cells = <2>;
+ #address-cells = <1>;
interrupt-map = <0x5000 1 2 &test_intc0 15>;
};

--
Frank Rowand <frank.rowand@xxxxxxxx>