Commit 957d1009 authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Stephen Boyd

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: default avatarDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Link: https://lkml.kernel.org/r/20200122134639.11735-1-dafna.hirschfeld@collabora.comAcked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent d9db07f0
...@@ -220,6 +220,7 @@ examples: ...@@ -220,6 +220,7 @@ examples:
# Example of MSM8998 GCC: # Example of MSM8998 GCC:
- | - |
#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@100000 { clock-controller@100000 {
compatible = "qcom,gcc-msm8998"; compatible = "qcom,gcc-msm8998";
#clock-cells = <1>; #clock-cells = <1>;
......
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