]> err.no Git - linux-2.6/commitdiff
Fix strip driver back up for ldisc/tty changes
authorAlan Cox <alan@redhat.com>
Wed, 16 Jul 2008 20:57:28 +0000 (21:57 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 21 Jul 2008 00:12:38 +0000 (17:12 -0700)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/wireless/strip.c

index 883af891ebfb4c54d19daff25495af0a063734f4..417e9e675facceab098ca13f594419572a0a0d6d 100644 (file)
@@ -2728,7 +2728,7 @@ static int strip_ioctl(struct tty_struct *tty, struct file *file,
 /************************************************************************/
 /* Initialization                                                      */
 
-static struct tty_ldisc strip_ldisc = {
+static struct tty_ldisc_ops strip_ldisc = {
        .magic = TTY_LDISC_MAGIC,
        .name = "strip",
        .owner = THIS_MODULE,