diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-01-25 07:54:47 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-14 01:11:00 +0100 |
commit | 1b769881750030f10743808b9d6013e11f559350 (patch) | |
tree | e0dd6eff6a904307be295c1c9f5a900fde589096 /drivers/rtc | |
parent | 0c9d42e6b0b83d507335a291e3ea99240038f4b9 (diff) | |
download | talos-obmc-uboot-1b769881750030f10743808b9d6013e11f559350.tar.gz talos-obmc-uboot-1b769881750030f10743808b9d6013e11f559350.zip |
Fix remaining CONFIG_COMMANDS
update comments
Fix coding style
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rx8025.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/rtc/rx8025.c b/drivers/rtc/rx8025.c index 6c94ae171d..9122f12fc0 100644 --- a/drivers/rtc/rx8025.c +++ b/drivers/rtc/rx8025.c @@ -142,7 +142,6 @@ void rtc_get (struct rtc_time *tmp) tmp->tm_hour, tmp->tm_min, tmp->tm_sec); } - /* * Set the RTC */ @@ -166,7 +165,6 @@ void rtc_set (struct rtc_time *tmp) rtc_write (RTC_CTL1_REG_ADDR, RTC_CTL1_BIT_2412); } - /* * Reset the RTC. We setting the date back to 1970-01-01. */ @@ -200,7 +198,6 @@ void rtc_reset (void) return; } - /* * Helper functions */ @@ -224,4 +221,4 @@ static unsigned char bin2bcd (unsigned int n) return (((n / 10) << 4) | (n % 10)); } -#endif /* CONFIG_RTC_RX8025 && (CFG_COMMANDS & CFG_CMD_DATE) */ +#endif /* CONFIG_RTC_RX8025 && CONFIG_CMD_DATE */ |