[PATCH 9/9] Constify struct file_operations for 2.6.32-git-053fe57ac v2

From: re . emese
Date: Sun Dec 13 2009 - 19:15:49 EST


From: Emese Revfy <re.emese@xxxxxxxxx>


Signed-off-by: Emese Revfy <re.emese@xxxxxxxxx>
---
drivers/char/pty.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/char/pty.c b/drivers/char/pty.c
index 385c44b..9fa352e 100644
--- a/drivers/char/pty.c
+++ b/drivers/char/pty.c
@@ -676,6 +676,7 @@ static int ptmx_open(struct inode *inode, struct file *filp)
return ret;
}

+/* cannot be const, see unix98_pty_init */
static struct file_operations ptmx_fops;

static void __init unix98_pty_init(void)
--
1.6.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/