projects
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Patch by Philippe Robin, 09 Mar 2004:
[kernel/u-boot.git]
/
rtc
/
ds1307.c
diff --git
a/rtc/ds1307.c
b/rtc/ds1307.c
index
4b6d8ac
..
3b26a0a
100644
(file)
--- a/
rtc/ds1307.c
+++ b/
rtc/ds1307.c
@@
-52,7
+52,7
@@
# define CFG_I2C_RTC_ADDR 0x68
#endif
-#if
CFG_I2C_SPEED > 100000
+#if
defined(CONFIG_RTC_DS1307) && (CFG_I2C_SPEED > 100000)
# error The DS1307 is specified only up to 100kHz!
#endif