summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-10-18 21:55:29 (GMT)
committerSimon Glass <sjg@chromium.org>2015-10-21 13:46:50 (GMT)
commit1bcb5c3a6cbaaf29d03bd58d068a7d42042476d5 (patch)
tree0be11ebfcc38911b977d7c9f16d4b04d97902159 /drivers/rtc
parent7b95252d82267143e647d5fee96c7d9d5bf74560 (diff)
downloadu-boot-1bcb5c3a6cbaaf29d03bd58d068a7d42042476d5.tar.xz
rtc: mc146818: Add a comment to the #endif
Add a comment to make it clear to which block the #endif relates. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/mc146818.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c
index 363ade3..9e94a80 100644
--- a/drivers/rtc/mc146818.c
+++ b/drivers/rtc/mc146818.c
@@ -192,7 +192,7 @@ static void mc146818_init(void)
/* Clear any pending interrupts */
mc146818_read8(RTC_CONFIG_C);
}
-#endif
+#endif /* CONFIG_CMD_DATE */
#ifdef CONFIG_DM_RTC