Re: [PATCH 03/11] serial: sunsab: constify uart_ops structures
From: David Miller
Date: Sun Aug 13 2017 - 23:12:50 EST
From: Julia Lawall <Julia.Lawall@xxxxxxx>
Date: Sun, 13 Aug 2017 08:21:42 +0200
> These uart_ops structures are only stored in the ops field of a
> uart_port structure and this fields is const, so the uart_ops
> structures can also be const.
>
> Done with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>