summaryrefslogtreecommitdiff
path: root/board/bmw
diff options
context:
space:
mode:
authorGerald Van Baren <vanbaren@cideas.com>2008-03-21 11:58:22 -0400
committerGerald Van Baren <vanbaren@cideas.com>2008-03-21 11:58:22 -0400
commit01026a6e613e1cfe580122fb5350677025f896fa (patch)
tree5e5905f085107242093e39a5e2175622df1bb73a /board/bmw
parent11abe45c48ec3485a6c1a5168ce8d79c3288adc1 (diff)
parent81a0ac62ea29f8252d0a714709d0ecfdbba2a15e (diff)
downloadu-boot-imx-01026a6e613e1cfe580122fb5350677025f896fa.zip
u-boot-imx-01026a6e613e1cfe580122fb5350677025f896fa.tar.gz
u-boot-imx-01026a6e613e1cfe580122fb5350677025f896fa.tar.bz2
Merge git://www.denx.de/git/u-boot into uboot
Diffstat (limited to 'board/bmw')
-rw-r--r--board/bmw/m48t59y.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/bmw/m48t59y.c b/board/bmw/m48t59y.c
index d72c861..a1a85d0 100644
--- a/board/bmw/m48t59y.c
+++ b/board/bmw/m48t59y.c
@@ -278,7 +278,7 @@ void m48_watchdog_arm(int usec)
/*
* U-Boot RTC support.
*/
-void
+int
rtc_get( struct rtc_time *tmp )
{
m48_tod_get(&tmp->tm_year,
@@ -295,6 +295,8 @@ rtc_get( struct rtc_time *tmp )
tmp->tm_year, tmp->tm_mon, tmp->tm_mday, tmp->tm_wday,
tmp->tm_hour, tmp->tm_min, tmp->tm_sec );
#endif
+
+ return 0;
}
void