projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtc, rx8025: fix Coding Style
[oweals/u-boot.git]
/
drivers
/
rtc
/
ds1306.c
diff --git
a/drivers/rtc/ds1306.c
b/drivers/rtc/ds1306.c
index bd1e0845aab384604f0dfde281927884d5ca4b48..02d617e09c92df3f678bc21e7f5f553b7056b4ed 100644
(file)
--- a/
drivers/rtc/ds1306.c
+++ b/
drivers/rtc/ds1306.c
@@
-19,8
+19,6
@@
#include <rtc.h>
#include <spi.h>
-#if defined(CONFIG_CMD_DATE)
-
#define RTC_SECONDS 0x00
#define RTC_MINUTES 0x01
#define RTC_HOURS 0x02
@@
-437,5
+435,3
@@
static void rtc_write (unsigned char reg, unsigned char val)
}
#endif /* end of code exclusion (see #ifdef CONFIG_SXNI855T above) */
-
-#endif