diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-11 22:53:33 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-11 22:53:33 +0100 |
commit | d52fb7e3d135704334bd6f97f3444e824665b76f (patch) | |
tree | e1e91e323b603533acda1c1de53388c588e3753c /rtc | |
parent | 4367a01036bdb67e7fc3000cedba7195fbdee304 (diff) | |
download | u-boot-imx-d52fb7e3d135704334bd6f97f3444e824665b76f.zip u-boot-imx-d52fb7e3d135704334bd6f97f3444e824665b76f.tar.gz u-boot-imx-d52fb7e3d135704334bd6f97f3444e824665b76f.tar.bz2 |
Some code cleanup for GCC 4.x
Diffstat (limited to 'rtc')
-rw-r--r-- | rtc/rs5c372.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtc/rs5c372.c b/rtc/rs5c372.c index 87f38c4..b56808b 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]); |