Messages in this thread Patch in this message | | | From | re.emese@gmail ... | Subject | [PATCH 8/9] Constify struct file_operations for 2.6.32-git-053fe57ac v2 | Date | Mon, 14 Dec 2009 00:59:36 +0100 |
| |
From: Emese Revfy <re.emese@gmail.com>
Signed-off-by: Emese Revfy <re.emese@gmail.com> --- drivers/char/tty_io.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 684f0e0..e685ecc 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -3067,6 +3067,7 @@ struct tty_struct *get_current_tty(void) } EXPORT_SYMBOL_GPL(get_current_tty); +/* cannot be const, see this function */ void tty_default_fops(struct file_operations *fops) { *fops = tty_fops; -- 1.6.5.3
| |