Commit 0ea5115a authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Olof Johansson

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: f6f14960 ("dt-bindings: phy: Add binding for marvell,mmp3-hsic-phy")
Link: https://lore.kernel.org/r/20200124105753.15976-1-dafna.hirschfeld@collabora.comSigned-off-by: default avatarDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent e6ecae6b
......@@ -33,6 +33,7 @@ required:
examples:
- |
#include <dt-bindings/gpio/gpio.h>
hsic-phy@f0001800 {
compatible = "marvell,mmp3-hsic-phy";
reg = <0xf0001800 0x40>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment