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

Simon Glass sjg at chromium.org
Thu Oct 22 01:24:14 CEST 2015


On 18 October 2015 at 20:22, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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>

Applied to u-boot-x86.


More information about the U-Boot mailing list