[U-Boot] [PATCH 1/9] rtc: mc146818: Add a comment to the #endif

Simon Glass sjg at chromium.org
Sun Oct 18 23:55:29 CEST 2015


Add a comment to make it clear to which block the #endif relates.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/rtc/mc146818.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
-- 
2.6.0.rc2.230.g3dd15c0



More information about the U-Boot mailing list