6986ae9289f81ce2c4d1c17c0002d03fae1f9b16
[openwrt/staging/blogic.git] /
1 From de002983174698762ecd3e42ab5a4b1bceb80af1 Mon Sep 17 00:00:00 2001
2 From: Stefan Wahren <stefan.wahren@i2se.com>
3 Date: Sun, 30 Dec 2018 12:07:16 +0100
4 Subject: [PATCH] ARM: dts: bcm2835-rpi: Drop unnecessary
5 #address-cells/#size-cells
6
7 Compiling the bcm2835-rpi.dtsi with W=1 leads to the following warning:
8
9 Warning (avoid_unnecessary_addr_size): /soc/firmware: unnecessary
10 #address-cells/#size-cells without "ranges" or child "reg" property
11
12 Fix this by removing these unnecessary properties.
13
14 Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
15 Reviewed-by: Eric Anholt <eric@anholt.net>
16 ---
17 arch/arm/boot/dts/bcm2835-rpi.dtsi | 2 --
18 1 file changed, 2 deletions(-)
19
20 --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
21 +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
22 @@ -19,8 +19,6 @@
23 soc {
24 firmware: firmware {
25 compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
26 - #address-cells = <0>;
27 - #size-cells = <0>;
28 mboxes = <&mailbox>;
29 };
30