Commit dcb14775 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[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: default avatarGavin Lambert <gavinl@compacsort.com>
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent deb77c85
...@@ -114,7 +114,7 @@ void BSP_gettod (int *yearp, int *monp, int *dayp, ...@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment