]> git.dujemihanovic.xyz Git - u-boot.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)
commit995b60b5937133639500d89a01da0d88af3cff15
tree9f64725d6b96f2d194435c55bf3cb963371ea54b
parent7e87816caa2b54e7cca9aca9b29981e54fcd0496
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