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
@ -935,7 +935,7 @@ static int info_open(struct tty_struct *tty, struct file *filp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct tty_operations info_ops = {
|
||||
static const struct tty_operations info_ops = {
|
||||
.open = info_open,
|
||||
.ioctl = info_ioctl,
|
||||
};
|
||||
|
Reference in New Issue
Block a user