]> git.karo-electronics.de Git - linux-beck.git/commit
tty: serial: constify psc_ops structs
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Mon, 14 Dec 2015 23:45:16 +0000 (01:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:31:47 +0000 (22:31 -0800)
commitcc74bd1d218053cefc6323721512808d36a1bfb1
tree446264d65f2d31d446b4893e280884dec22cb12e
parent5a43140cc4a59eda4549cc3b74989efa77973158
tty: serial: constify psc_ops structs

Constifies psc_ops structures in tty's serial
port driver since they are not modified after
their initialization.

Detected and found using Coccinelle.

Suggested-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mpc52xx_uart.c