tty: const: constify remaining tty_operations
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
e6bdf24cf2
commit
1cceefd3a2
@@ -196,7 +196,7 @@ static const struct file_operations rs_proc_fops = {
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
static struct tty_operations serial_ops = {
|
||||
static const struct tty_operations serial_ops = {
|
||||
.open = rs_open,
|
||||
.close = rs_close,
|
||||
.write = rs_write,
|
||||
|
Reference in New Issue
Block a user