[PATCH AUTOSEL 5.18 04/53] arm64: s32g2: Pass unit name to soc node
From: Sasha Levin
Date: Mon Jun 27 2022 - 22:19:14 EST
From: Fabio Estevam <festevam@xxxxxxxxx>
[ Upstream commit 4266e2f70d4388b8c6a95056169954ff049ced94 ]
Pass unit name to soc node to fix the following W=1 build warning:
arch/arm64/boot/dts/freescale/s32g2.dtsi:82.6-123.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name
Signed-off-by: Fabio Estevam <festevam@xxxxxxx>
Reviewed-by: Chester Lin <clin@xxxxxxxx>
Signed-off-by: Chester Lin <clin@xxxxxxxx>
Link: https://lore.kernel.org/r/20220514143505.1554813-1-festevam@xxxxxxxxx
Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
---
arch/arm64/boot/dts/freescale/s32g2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/s32g2.dtsi b/arch/arm64/boot/dts/freescale/s32g2.dtsi
index 59ea8a25aa4c..824d401e7a2c 100644
--- a/arch/arm64/boot/dts/freescale/s32g2.dtsi
+++ b/arch/arm64/boot/dts/freescale/s32g2.dtsi
@@ -79,7 +79,7 @@ psci {
};
};
- soc {
+ soc@0 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
--
2.35.1