dt-bindings: fix compilation error of the example in marvell,mmp3-hsic-phy.yaml
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Fri, 24 Jan 2020 10:57:53 +0000 (11:57 +0100)
committerOlof Johansson <olof@lixom.net>
Fri, 24 Jan 2020 20:10:48 +0000 (12:10 -0800)
commit0ea5115a02f08a86e1fe01b837d941263ba870a3
tree7ce8baaba531203a9881946a4276fccf24353dda
parente6ecae6b8f6e16b085a70bc6c368626371e3a609
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: f6f149604eef ("dt-bindings: phy: Add binding for marvell,mmp3-hsic-phy")
Link: https://lore.kernel.org/r/20200124105753.15976-1-dafna.hirschfeld@collabora.com
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml