Commit 1cceefd3a28e54c0777fe544e1fd32253b2a1de5

Authored by Alexey Dobriyan
Committed by Greg Kroah-Hartman
1 parent e6bdf24cf2

tty: const: constify remaining tty_operations

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Showing 4 changed files with 4 additions and 4 deletions Side-by-side Diff

arch/xtensa/platforms/iss/console.c
... ... @@ -196,7 +196,7 @@
196 196 .release = single_release,
197 197 };
198 198  
199   -static struct tty_operations serial_ops = {
  199 +static const struct tty_operations serial_ops = {
200 200 .open = rs_open,
201 201 .close = rs_close,
202 202 .write = rs_write,
drivers/char/bfin_jtag_comm.c
... ... @@ -226,7 +226,7 @@
226 226 }
227 227 }
228 228  
229   -static struct tty_operations bfin_jc_ops = {
  229 +static const struct tty_operations bfin_jc_ops = {
230 230 .open = bfin_jc_open,
231 231 .close = bfin_jc_close,
232 232 .write = bfin_jc_write,
... ... @@ -935,7 +935,7 @@
935 935 return 0;
936 936 }
937 937  
938   -static struct tty_operations info_ops = {
  938 +static const struct tty_operations info_ops = {
939 939 .open = info_open,
940 940 .ioctl = info_ioctl,
941 941 };
drivers/char/pcmcia/ipwireless/tty.c
... ... @@ -603,7 +603,7 @@
603 603 }
604 604 }
605 605  
606   -static struct tty_operations tty_ops = {
  606 +static const struct tty_operations tty_ops = {
607 607 .open = ipw_open,
608 608 .close = ipw_close,
609 609 .hangup = ipw_hangup,