summaryrefslogtreecommitdiffstats
path: root/rtc
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-03-11 22:53:33 +0100
committerWolfgang Denk <wd@pollux.denx.de>2006-03-11 22:53:33 +0100
commitd52fb7e3d135704334bd6f97f3444e824665b76f (patch)
treee1e91e323b603533acda1c1de53388c588e3753c /rtc
parent4367a01036bdb67e7fc3000cedba7195fbdee304 (diff)
downloadblackbird-obmc-uboot-d52fb7e3d135704334bd6f97f3444e824665b76f.tar.gz
blackbird-obmc-uboot-d52fb7e3d135704334bd6f97f3444e824665b76f.zip
Some code cleanup for GCC 4.x
Diffstat (limited to 'rtc')
-rw-r--r--rtc/rs5c372.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtc/rs5c372.c b/rtc/rs5c372.c
index 87f38c42bb..b56808b8ba 100644
--- a/rtc/rs5c372.c
+++ b/rtc/rs5c372.c
@@ -73,7 +73,7 @@ static unsigned bcd2bin (uchar c);
static int setup_done = 0;
static int
-rs5c372_readram(char *buf, int len)
+rs5c372_readram(unsigned char *buf, int len)
{
int ret;
@@ -128,7 +128,7 @@ rs5c372_enable(void)
}
static void
-rs5c372_convert_to_time(struct rtc_time *dt, char *buf)
+rs5c372_convert_to_time(struct rtc_time *dt, unsigned char *buf)
{
/* buf[0] is register 15 */
dt->tm_sec = bcd2bin(buf[1]);
OpenPOWER on IntegriCloud