sparc64: Check for RTC class device in update_persistent_clock().
authorDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 00:34:31 +0000 (17:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 21:16:46 +0000 (14:16 -0700)
commita0b31b578f9ab34826703762113f9d42f3ae9819
treed481fa8184ccb200c961a82c64ac2c972eb4cde5
parent90de9dea3bfb80d0db9e6d1ff26f7ea7b2f1f0f5
sparc64: Check for RTC class device in update_persistent_clock().

As we convert the various by-hand sparc64 RTC drivers to use the
generic RTC framework and drivers, we need to keep the NTP
set_rtc_mmss() support via update_persistent_clock() working.

In the end, after all the RTC device cases are converted, this
local set_rtc_mmss() function will be deleted.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/time.c