projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] const struct tty_operations
[linux-2.6-block.git]
/
drivers
/
char
/
pty.c
diff --git
a/drivers/char/pty.c
b/drivers/char/pty.c
index 34dd4c38110e060f6bdfd866d0aa2bdb41994d08..80d3eedd7f96f32997a69fa24f2134b38c8d1f1f 100644
(file)
--- a/
drivers/char/pty.c
+++ b/
drivers/char/pty.c
@@
-224,7
+224,7
@@
static void pty_set_termios(struct tty_struct *tty, struct termios *old_termios)
tty->termios->c_cflag |= (CS8 | CREAD);
}
-static struct tty_operations pty_ops = {
+static
const
struct tty_operations pty_ops = {
.open = pty_open,
.close = pty_close,
.write = pty_write,