Re: [PATCH 04/11] serial: sunsu: constify uart_ops structures
From: David Miller
Date: Sun Aug 13 2017 - 23:12:57 EST
From: Julia Lawall <Julia.Lawall@xxxxxxx>
Date: Sun, 13 Aug 2017 08:21:43 +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>