mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-13 00:20:06 +00:00
[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>
This commit is contained in:
parent
deb77c8501
commit
dcb1477549
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user