projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc1da42
)
rtc: Fix printf format warning in m41t60.c
author
Stefan Roese
<sr@denx.de>
Thu, 10 Jul 2008 08:00:45 +0000
(10:00 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Thu, 10 Jul 2008 08:17:33 +0000
(10:17 +0200)
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/rtc/m41t60.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/m41t60.c
b/drivers/rtc/m41t60.c
index 8a32ea0748f6bf3aea682e2f44e3ba972542d8c9..ef135cab3831f399f6bf0d1e5dafb610aa452eab 100644
(file)
--- a/
drivers/rtc/m41t60.c
+++ b/
drivers/rtc/m41t60.c
@@
-241,7
+241,7
@@
void rtc_reset(void)
if (l <= 0x3F) {
if ((data[RTC_CTRL] & 0x3F) != l) {
- printf("Setting RTC calibration to 0x%02X\n",
+ printf("Setting RTC calibration to 0x%02
l
X\n",
l);
data[RTC_CTRL] &= 0xC0;
data[RTC_CTRL] |= (uchar) l;