drivers/rtc/rtc-s3c.c: fix initialization failure without rtc source clock
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 29 Oct 2014 21:50:38 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 29 Oct 2014 23:33:14 +0000 (16:33 -0700)
commiteaf3a659086e1d1d85dc8fbce4007e3c9076e0b3
treeb500bbb5391b29f52b2b7c9e036b750d5d15f9ed
parent0baf2a4dbf75abb7c186fd6c8d55d27aaa354a29
drivers/rtc/rtc-s3c.c: fix initialization failure without rtc source clock

Fix unconditional initialization failure on non-exynos3250 SoCs.

Commit df9e26d093d3 ("rtc: s3c: add support for RTC of Exynos3250 SoC")
introduced rtc source clock support, but also added initialization
failure on SoCs, which doesn't need such clock.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-s3c.c