xtensa: remove platform rtc hooks
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 4 Mar 2009 20:39:12 +0000 (21:39 +0100)
committerChris Zankel <chris@zankel.net>
Fri, 3 Apr 2009 06:45:07 +0000 (23:45 -0700)
commit4476c96769ec083c53fbdbd37b538105deb65aa2
treeae29b4d46fb63aab25a22da8eb6d4ab992f5b1e6
parent90be8c16950e28aee7cad422272805dcefa06167
xtensa: remove platform rtc hooks

platform_get/set_rtc_time() is not implemented by any of the supported
xtensa platforms.  Remove the facility completely.

The initial seconds for xtime come from read_persistent_clock() which
returns just 0 in the generic implementation.  Platforms that sport a
persistent clock can implement this function.

This is needed to implement the ccount as a clock source.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/platform.h
arch/xtensa/kernel/platform.c
arch/xtensa/kernel/time.c