[U-Boot] [PATCH 1/9] rtc: mc146818: Add a comment to the #endif
Bin Meng
bmeng.cn at gmail.com
Mon Oct 19 04:22:54 CEST 2015
On Mon, Oct 19, 2015 at 5:55 AM, Simon Glass <sjg at chromium.org> wrote:
> 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
>
> --
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list