Skip to content

Commit 1f6ca55

Browse files
Kriskura176767andersson
authored andcommitted
arm64: dts: qcom: sm8650: Fix compile warnings in USB controller node
With W=1, the following error comes up: Warning (avoid_unnecessary_addr_size): /soc@0/usb@a600000: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" or "ranges" property This is because the child node being removed during flattening and moving to latest bindings. Fixes: 77e1f16 ("arm64: dts: qcom: sm8650: Flatten the USB nodes") Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://lore.kernel.org/r/20251203144856.2711440-3-krishna.kurapati@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 9dbc9be commit 1f6ca55

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

arch/arm64/boot/dts/qcom/sm8650.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5150,9 +5150,6 @@
51505150

51515151
dma-coherent;
51525152

5153-
#address-cells = <1>;
5154-
#size-cells = <0>;
5155-
51565153
status = "disabled";
51575154

51585155
ports {

0 commit comments

Comments
 (0)