]> git.karo-electronics.de Git - karo-tx-linux.git/commit
char: constify tty_port_operations structs
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Mon, 14 Dec 2015 23:50:19 +0000 (01:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 07:31:08 +0000 (23:31 -0800)
commit9b95d95d5eba5a077283423616b4ec3329d6ab00
tree8e6485f56b0c72b46c48fb1b3d0ffc7cf4a74d3a
parent401879c57f01cbf2da204ad2e8db910525c6dbea
char: constify tty_port_operations structs

Constifies tty_port_operations structure in
the char driver since it is not modified
after its initialization.

Detected and found using Coccinelle.

Suggested-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/ttyprintk.c