projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deb77c8
)
[PATCH] m68knommu: switch 68360 to using rtc_time
author
Greg Ungerer
<gerg@snapgear.com>
Wed, 6 Dec 2006 01:43:14 +0000
(11:43 +1000)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Wed, 6 Dec 2006 15:41:26 +0000
(07:41 -0800)
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>
arch/m68knommu/platform/68360/config.c
patch
|
blob
|
history
diff --git
a/arch/m68knommu/platform/68360/config.c
b/arch/m68knommu/platform/68360/config.c
index c5482e3622eb158b76804c8d5e5a45a47df16b68..1b36f62617645358a2c8b0aadd20d7c77bbc1f6c 100644
(file)
--- 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 */