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]
/
net
/
irda
/
ircomm
/
ircomm_tty.c
diff --git
a/net/irda/ircomm/ircomm_tty.c
b/net/irda/ircomm/ircomm_tty.c
index 3bcdb467efc5658dd525d924acfd3faffd2adccb..d50a02030ad72dbf1598a87d24812203241a36a4 100644
(file)
--- a/
net/irda/ircomm/ircomm_tty.c
+++ b/
net/irda/ircomm/ircomm_tty.c
@@
-79,7
+79,7
@@
static struct tty_driver *driver;
hashbin_t *ircomm_tty = NULL;
-static struct tty_operations ops = {
+static
const
struct tty_operations ops = {
.open = ircomm_tty_open,
.close = ircomm_tty_close,
.write = ircomm_tty_write,