ARM: dts: ethernut5: Fix the build warning
PATCH 1/1 ARM: dts: ethernut5: Fix the build warning
Fix the building warning as below:
---8<----
Warning (reg_format): "reg" property in /i2c-gpio-0/pcf8563 at 50 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c-gpio-0/pcf8563 at 50
Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c-gpio-0/pcf8563@50
--->8----
Signed-off-by Wenyou Yang <[email protected]>
---
arch/arm/dts/ethernut5.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/dts/ethernut5.dts +2 -0
@@ -84,6 +84,8 @@ }; i2c-gpio-0 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; pcf8563 at 50 {
Signature · 1 line
2.13.0
PATCH 1/1 ARM: dts: ethernut5: Fix the build warning
Quoted 1 line · Wenyou Yang
Fix the building warning as below:
Reviewed-by Tom Rini <[email protected]>
But you need to submit this for Linux as well, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170809/a1a036a1/attachment.sig>
Quoted 1 line · Wenyou Yang
Fix the building warning as below:
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170913/ced73eae/attachment.sig>