tty: amba-pl011: constify vendor_data structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Fri, 11 Aug 2017 11:47:28 +0000 (13:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:18 +0000 (20:51 +0200)
commitd054b3acb71862c297b923ca24120788c40261e3
tree03e05ece43b6a3715544b8724b781bfbeedee555
parentcf0a1579dda4423c43f584a6bf029f033cf1e663
tty: amba-pl011: constify vendor_data structures

These vendor_data structures are only stored in the vendor field of
the uart_amba_port structure, as defined in the same file, and this
field is declared as const.  Thus the vendor_data structures can be
const too.

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/amba-pl011.c