Browse Source

[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 <gavinl@compacsort.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Greg Ungerer 18 years ago
parent
commit
dcb1477549
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/m68knommu/platform/68360/config.c

+ 1 - 1
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) {
   if (!op) {
     /* read */
     /* read */