diff options
author | Dafna Hirschfeld <dafna.hirschfeld@collabora.com> | 2020-01-22 14:46:39 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-01-28 10:26:20 -0800 |
commit | 957d100926b4dbdd9a67b3de5065bfafbe4ac19f (patch) | |
tree | 4988a475060dea5816f7d1e699da03c3e116b6be /Documentation/devicetree/bindings/clock | |
parent | d9db07f088af01a1080d01de363141b673c7d646 (diff) | |
download | talos-op-linux-957d100926b4dbdd9a67b3de5065bfafbe4ac19f.tar.gz talos-op-linux-957d100926b4dbdd9a67b3de5065bfafbe4ac19f.zip |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/clock')
-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>; |