diff options
author | Simon Glass | 2015-10-18 15:55:29 -0600 |
---|---|---|
committer | Simon Glass | 2015-10-21 07:46:50 -0600 |
commit | 1bcb5c3a6cbaaf29d03bd58d068a7d42042476d5 (patch) | |
tree | 0be11ebfcc38911b977d7c9f16d4b04d97902159 /drivers/rtc | |
parent | 7b95252d82267143e647d5fee96c7d9d5bf74560 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c index 363ade33e32..9e94a807bb1 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 |