[PATCH] uml: const more data
Make lots of structures const in order to make it obvious that they need no locking. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
48af05ed54
commit
5e7672ec3f
@@ -110,7 +110,7 @@ static int con_open(struct tty_struct *tty, struct file *filp)
|
||||
|
||||
static int con_init_done = 0;
|
||||
|
||||
static struct tty_operations console_ops = {
|
||||
static const struct tty_operations console_ops = {
|
||||
.open = con_open,
|
||||
.close = line_close,
|
||||
.write = line_write,
|
||||
|
Reference in New Issue
Block a user