diff options
author | Dafna Hirschfeld <[email protected]> | 2020-01-22 14:46:39 +0100 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2020-01-28 10:26:20 -0800 |
commit | 957d100926b4dbdd9a67b3de5065bfafbe4ac19f (patch) | |
tree | 4988a475060dea5816f7d1e699da03c3e116b6be | |
parent | d9db07f088af01a1080d01de363141b673c7d646 (diff) |
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 <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/clock/qcom,gcc.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc.yaml index 19d00794fe7d..50ff07f80acb 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gcc.yaml @@ -220,6 +220,7 @@ examples: # Example of MSM8998 GCC: - | + #include <dt-bindings/clock/qcom,rpmcc.h> clock-controller@100000 { compatible = "qcom,gcc-msm8998"; #clock-cells = <1>; |