]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: Rename 'num-gpios' property to avoid dtc warning
authorSimon Glass <sjg@chromium.org>
Sat, 3 Feb 2018 17:36:59 +0000 (10:36 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 18 Feb 2018 22:53:32 +0000 (15:53 -0700)
commit22057b16005318c8878e23b999fcd884919cd7ae
tree9f64725d6b96f2d194435c55bf3cb963371ea54b
parent45c01949c6422fdf4c05f8a137056cf0bf760c7e
sandbox: Rename 'num-gpios' property to avoid dtc warning

At present dtc produces these warnings when compiling sandbox:

arch/sandbox/dts/test.dtb: Warning (gpios_property):
Could not get phandle node for /base-gpios:num-gpios(cell 0)
arch/sandbox/dts/test.dtb: Warning (gpios_property):
Missing property '#gpio-cells' in node /reset-ctl or bad phandle
(referred from /extra-gpios:num-gpios[0])

Both are due to it assuming that the 'num-gpios' property holds a phandle
pointing to a GPIO node.

To avoid these warnings, rename the sandbox property so that it does not
include the string 'gpios'.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dts
arch/sandbox/dts/test.dts
drivers/gpio/sandbox.c