Skip to content

Commit

Permalink
[PATCH] m68knommu: switch 68360 to using rtc_time
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Dec 6, 2006
1 parent deb77c8 commit dcb1477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/68360/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit dcb1477

Please sign in to comment.