From: Greg Ungerer Date: Wed, 6 Dec 2006 01:43:14 +0000 (+1000) Subject: [PATCH] m68knommu: switch 68360 to using rtc_time X-Git-Tag: v2.6.20-rc1~34^2~20^2~37 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=dcb14775493170ea60fb8b657b411cdc9532b7ee;p=~emulex%2Finfiniband.git [PATCH] m68knommu: switch 68360 to using rtc_time Adds support for RTCs (through genrtc) for M68KNOMMU. Board-specific code will have to link the appropriate RTC driver to the mach_hwclk callback, at minimum. This patch switches the 68360 code over to using rtc_time. Signed-off-by: Gavin Lambert Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds --- diff --git a/arch/m68knommu/platform/68360/config.c b/arch/m68knommu/platform/68360/config.c index c5482e3622e..1b36f626176 100644 --- a/arch/m68knommu/platform/68360/config.c +++ b/arch/m68knommu/platform/68360/config.c @@ -114,7 +114,7 @@ void BSP_gettod (int *yearp, int *monp, int *dayp, { } -int BSP_hwclk(int op, struct hwclk_time *t) +int BSP_hwclk(int op, struct rtc_time *t) { if (!op) { /* read */