diff options
Diffstat (limited to 'drivers/char/pcmcia/ipwireless/tty.c')
-rw-r--r-- | drivers/char/pcmcia/ipwireless/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/pcmcia/ipwireless/tty.c b/drivers/char/pcmcia/ipwireless/tty.c index 748190dfbab0..ef92869502a7 100644 --- a/drivers/char/pcmcia/ipwireless/tty.c +++ b/drivers/char/pcmcia/ipwireless/tty.c | |||
@@ -425,7 +425,7 @@ ipw_tiocmset(struct tty_struct *linux_tty, | |||
425 | return set_control_lines(tty, set, clear); | 425 | return set_control_lines(tty, set, clear); |
426 | } | 426 | } |
427 | 427 | ||
428 | static int ipw_ioctl(struct tty_struct *linux_tty, struct file *file, | 428 | static int ipw_ioctl(struct tty_struct *linux_tty, |
429 | unsigned int cmd, unsigned long arg) | 429 | unsigned int cmd, unsigned long arg) |
430 | { | 430 | { |
431 | struct ipw_tty *tty = linux_tty->driver_data; | 431 | struct ipw_tty *tty = linux_tty->driver_data; |
@@ -484,7 +484,7 @@ static int ipw_ioctl(struct tty_struct *linux_tty, struct file *file, | |||
484 | return tty_perform_flush(linux_tty, arg); | 484 | return tty_perform_flush(linux_tty, arg); |
485 | } | 485 | } |
486 | } | 486 | } |
487 | return tty_mode_ioctl(linux_tty, file, cmd , arg); | 487 | return -ENOIOCTLCMD; |
488 | } | 488 | } |
489 | 489 | ||
490 | static int add_tty(int j, | 490 | static int add_tty(int j, |