aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml
diff options
context:
space:
mode:
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>2020-01-24 11:57:53 +0100
committerOlof Johansson <olof@lixom.net>2020-01-24 12:10:48 -0800
commit0ea5115a02f08a86e1fe01b837d941263ba870a3 (patch)
tree7ce8baaba531203a9881946a4276fccf24353dda /Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml
parentMerge tag 'uniphier-dt64-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into arm/dt (diff)
downloadlinux-dev-0ea5115a02f08a86e1fe01b837d941263ba870a3.tar.xz
linux-dev-0ea5115a02f08a86e1fe01b837d941263ba870a3.zip
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>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml b/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml
index 7917a95cda78..5ab436189f3b 100644
--- a/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml
@@ -33,6 +33,7 @@ required:
examples:
- |
+ #include <dt-bindings/gpio/gpio.h>
hsic-phy@f0001800 {
compatible = "marvell,mmp3-hsic-phy";
reg = <0xf0001800 0x40>;