dt-binding: fix compilation error of the example in qcom,gcc.yaml
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Wed, 22 Jan 2020 13:46:39 +0000 (14:46 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 28 Jan 2020 18:26:20 +0000 (10:26 -0800)
commit957d100926b4dbdd9a67b3de5065bfafbe4ac19f
tree4988a475060dea5816f7d1e699da03c3e116b6be
parentd9db07f088af01a1080d01de363141b673c7d646
dt-binding: fix compilation error of the example in qcom,gcc.yaml

Running `make dt_binging_check`, gives the error:

DTC     Documentation/devicetree/bindings/clock/qcom,gcc.example.dt.yaml
Error: Documentation/devicetree/bindings/clock/qcom,gcc.example.dts:111.28-29 syntax error
FATAL ERROR: Unable to parse input tree

This is because the last example uses the macro RPM_SMD_XO_CLK_SRC which
is defined in qcom,rpmcc.h but the include of this header is missing.
Add the include to fix the error.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Link: https://lkml.kernel.org/r/20200122134639.11735-1-dafna.hirschfeld@collabora.com
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/clock/qcom,gcc.yaml