dt-bindings: fix compilation error of the example in marvell,mmp3-hsic-phy.yaml
Subsystems (2)
PATCH 1/1 dt-bindings: fix compilation error of the example in marvell,mmp3-hsic-phy.yaml
Running make dt_binging_check, gives the error:
DTC Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.example.dt.yaml
Error: Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.example.dts:20.41-42 syntax error FATAL ERROR: Unable to parse input tree
This is because the example uses the macro GPIO_ACTIVE_HIGH which is defined in gpio.h but the include of this header is missing. Add the include to fix the error.
--- Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml +1 -0
@@ -33,6 +33,7 @@ required: examples: - | + #include <dt-bindings/gpio/gpio.h> hsic-phy@f0001800 { compatible = "marvell,mmp3-hsic-phy"; reg = <0xf0001800 0x40>;
Signature · 1 line
2.17.1
Quoted 7 lines · Dafna Hirschfeld
Running
make dt_binging_check, gives the error:DTC
Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.example.dt.yaml
Error: Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.example.dts:20.41-42 syntax error FATAL ERROR: Unable to parse input tree
Quoted 5 lines
This is because the example uses the macro
GPIO_ACTIVE_HIGHwhich is defined ingpio.hbut the include of this header is missing. Add the include to fix the error.Signed-off-by Dafna Hirschfeld <[email protected]>
Arnd, Olof, The above commit is in your tree. Please apply this.
Rob
Olof Johansson
AppliedQuoted 13 lines · Rob Herring
Quoted 11 lines · Dafna Hirschfeld
Running
make dt_binging_check, gives the error:DTC
Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.example.dt.yaml
Error: Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.example.dts:20.41-42 syntax error FATAL ERROR: Unable to parse input treeThis is because the example uses the macro
GPIO_ACTIVE_HIGHwhich is defined ingpio.hbut the include of this header is missing. Add the include to fix the error.
Quoted 6 lines
Quoted 1 line
Signed-off-by Dafna Hirschfeld <[email protected]>Fixes f6f149604eef ("dt-bindings: phy: Add binding for marvell,mmp3-hsic-phy")Acked-by Rob Herring <[email protected]>Arnd, Olof, The above commit is in your tree. Please apply this.
Applied.
Thanks,
-Olof