tty: constify tty_port_operations structs
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Mon, 14 Dec 2015 23:53:36 +0000 (01:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 07:31:08 +0000 (23:31 -0800)
commit04b757dfd26cee24bc62ed815cd87efbf10ef2fc
tree4e6501161f5997c42cfedc2849b4adb015d374f9
parent9b95d95d5eba5a077283423616b4ec3329d6ab00
tty: constify tty_port_operations structs

Constifies tty_port_operations structures in
the tty 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/goldfish.c
drivers/tty/mxser.c
This page took 0.025746 seconds and 5 git commands to generate.