serial: sunsab: constify uart_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 13 Aug 2017 06:21:42 +0000 (08:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:21 +0000 (20:51 +0200)
commit1a607d31b264b930b986bc24958b4a840167f346
treea0cfa1fd0716eed166cdd3e583a22c1778c0487f
parentccb47a339dabace57c71ab41e6d7cd5f9b8d6746
serial: sunsab: constify uart_ops structures

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@lip6.fr>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sunsab.c