summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-10-18 15:55:29 -0600
committerSimon Glass <sjg@chromium.org>2015-10-21 07:46:50 -0600
commit1bcb5c3a6cbaaf29d03bd58d068a7d42042476d5 (patch)
tree0be11ebfcc38911b977d7c9f16d4b04d97902159 /drivers/rtc
parent7b95252d82267143e647d5fee96c7d9d5bf74560 (diff)
downloadu-boot-imx-1bcb5c3a6cbaaf29d03bd58d068a7d42042476d5.zip
u-boot-imx-1bcb5c3a6cbaaf29d03bd58d068a7d42042476d5.tar.gz
u-boot-imx-1bcb5c3a6cbaaf29d03bd58d068a7d42042476d5.tar.bz2
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