ARM: dts: Use define for s3c-rtc clock id for exynos3250-monk
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 2 Apr 2015 10:20:32 +0000 (12:20 +0200)
committerKukjin Kim <kgene@kernel.org>
Sun, 17 May 2015 01:51:58 +0000 (10:51 +0900)
Use a define instead of raw number as a ID for "rtc_src" clock.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos3250-monk.dts

index 1d483c1c8b48dcd978effc490af4f99a1bfb3fef..a5863acc5fff36aa28e1be183a85fc37883cd186 100644 (file)
@@ -16,6 +16,7 @@
 #include "exynos3250.dtsi"
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/clock/samsung,s2mps11.h>
 
 / {
        model = "Samsung Monk board";
 };
 
 &rtc {
-       clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>;
+       clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
        clock-names = "rtc", "rtc_src";
        status = "okay";
 };