serial: mpc52xx: constify uart_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 13 Aug 2017 06:21:49 +0000 (08:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:21 +0000 (20:51 +0200)
commit6f137a751cd968b5ddd27a5d99eefa83f73d3390
tree6638f204346a0e62d657bccd2cc9d32320e2c6e1
parentcdb939456f81878cda1f31ba0ef1a3b1d7be07e8
serial: mpc52xx: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mpc52xx_uart.c