spi: dt-bindings: nuvoton,wpcm450-fiu: Fix error in example (bogus include)
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Tue, 29 Nov 2022 10:22:24 +0000 (11:22 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 29 Nov 2022 11:32:10 +0000 (11:32 +0000)
commit1e2872f5912fbc87a00d00d49af98e428f4ff8b7
tree3dd5c6d282ae62fad730e8a09a271cc98b4e6f5d
parentc6f7874687f7027d7c4b2f53ff6e4d22850f915d
spi: dt-bindings: nuvoton,wpcm450-fiu: Fix error in example (bogus include)

The nuvoton,wpcm450-fiu binding's example includes
nuvoton,wpcm450-clk.h, which has not been merged yet,
thus causing a dt_binding_check error on -next.

Fix this error by simply hardcoding the clock index in the example,
before the breakage spreads any further.

Fixes: dd71cd4dd6c9b ("spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU) bindings")
Reported-by: Rob Herring <robh@kernel.org>
Reported-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221129102225.3598044-2-j.neuschaefer@gmx.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml