浏览代码

Fix strip driver back up for ldisc/tty changes

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Alan Cox 17 年之前
父节点
当前提交
4e4f64da58
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/wireless/strip.c

+ 1 - 1
drivers/net/wireless/strip.c

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