From: Simon Glass Date: Sun, 18 Oct 2015 21:55:29 +0000 (-0600) Subject: rtc: mc146818: Add a comment to the #endif X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=1bcb5c3a6cbaaf29d03bd58d068a7d42042476d5;p=u-boot.git 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 Reviewed-by: Bin Meng --- diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c index 363ade33e3..9e94a807bb 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