Re: [PATCH] checkpatch: Add uart_ops to normally const structs

Maxime Coquelin
2015-04-07T07:55:24Z

Hi Joe,

2015-04-04 19:47 GMT+02:00 Joe Perches <joe@perches.com>:
> Add another struct to the list of normally const struct types
>
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
>
> On Fri, 2015-04-03 at 10:43 -0700, Joe Perches wrote:
>> On Fri, 2015-04-03 at 19:01 +0200, Maxime Coquelin wrote:
>> > This drivers adds support to the STM32 USART controller, which is a
>> > standard serial driver.
>> trivia:
>> > diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c
>> []
>> > +static struct uart_ops stm32_uart_ops = {
>> could be const
>> and it could be updated in a separate patch later too.
>
> scripts/checkpatch.pl | 1 +
> 1 file changed, 1 insertion(+)
>

For what it's worth, you can add:
Acked-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>

Regards,
Maxime