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>
This commit is contained in:
Simon Glass 2015-10-18 15:55:29 -06:00
parent 7b95252d82
commit 1bcb5c3a6c

View File

@ -192,7 +192,7 @@ static void mc146818_init(void)
/* Clear any pending interrupts */ /* Clear any pending interrupts */
mc146818_read8(RTC_CONFIG_C); mc146818_read8(RTC_CONFIG_C);
} }
#endif #endif /* CONFIG_CMD_DATE */
#ifdef CONFIG_DM_RTC #ifdef CONFIG_DM_RTC