Skip to content

Commit 1e2872f

Browse files
neuschaeferbroonie
authored andcommitted
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: dd71cd4 ("spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU) bindings") Reported-by: Rob Herring <[email protected]> Reported-by: Conor Dooley <[email protected]> Signed-off-by: Jonathan Neuschäfer <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent c6f7874 commit 1e2872f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,13 @@ unevaluatedProperties: false
4545

4646
examples:
4747
- |
48-
#include <dt-bindings/clock/nuvoton,wpcm450-clk.h>
4948
spi@c8000000 {
5049
compatible = "nuvoton,wpcm450-fiu";
5150
reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>;
5251
#address-cells = <1>;
5352
#size-cells = <0>;
5453
reg-names = "control", "memory";
55-
clocks = <&clk WPCM450_CLK_FIU>;
54+
clocks = <&clk 0>;
5655
nuvoton,shm = <&shm>;
5756
5857
flash@0 {

0 commit comments

Comments
 (0)