Skip to content

Commit 0ea5115

Browse files
Dafna Hirschfeldolofj
authored andcommitted
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. Fixes: f6f1496 ("dt-bindings: phy: Add binding for marvell,mmp3-hsic-phy") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dafna Hirschfeld <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
1 parent e6ecae6 commit 0ea5115

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ required:
3333

3434
examples:
3535
- |
36+
#include <dt-bindings/gpio/gpio.h>
3637
hsic-phy@f0001800 {
3738
compatible = "marvell,mmp3-hsic-phy";
3839
reg = <0xf0001800 0x40>;

0 commit comments

Comments
 (0)