浏览代码

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>
Simon Glass 9 年之前
父节点
当前提交
1bcb5c3a6c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/rtc/mc146818.c

+ 1 - 1
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