aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/isdn/capi/capi.c2
-rw-r--r--drivers/isdn/gigaset/ser-gigaset.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c
index 871b0cbca5e4..798d7f3e42ef 100644
--- a/drivers/isdn/capi/capi.c
+++ b/drivers/isdn/capi/capi.c
@@ -1231,7 +1231,7 @@ static int capinc_tty_ioctl(struct tty_struct *tty, struct file * file,
1231 int error = 0; 1231 int error = 0;
1232 switch (cmd) { 1232 switch (cmd) {
1233 default: 1233 default:
1234 error = n_tty_ioctl (tty, file, cmd, arg); 1234 error = n_tty_ioctl_helper(tty, file, cmd, arg);
1235 break; 1235 break;
1236 } 1236 }
1237 return error; 1237 return error;
diff --git a/drivers/isdn/gigaset/ser-gigaset.c b/drivers/isdn/gigaset/ser-gigaset.c
index 5e89fa177816..cc4f4e44ffe4 100644
--- a/drivers/isdn/gigaset/ser-gigaset.c
+++ b/drivers/isdn/gigaset/ser-gigaset.c
@@ -645,7 +645,7 @@ gigaset_tty_ioctl(struct tty_struct *tty, struct file *file,
645 case TCGETS: 645 case TCGETS:
646 case TCGETA: 646 case TCGETA:
647 /* pass through to underlying serial device */ 647 /* pass through to underlying serial device */
648 rc = n_tty_ioctl(tty, file, cmd, arg); 648 rc = n_tty_ioctl_helper(tty, file, cmd, arg);
649 break; 649 break;
650 650
651 case TCFLSH: 651 case TCFLSH:
@@ -660,7 +660,7 @@ gigaset_tty_ioctl(struct tty_struct *tty, struct file *file,
660 break; 660 break;
661 } 661 }
662 /* flush the serial port's buffer */ 662 /* flush the serial port's buffer */
663 rc = n_tty_ioctl(tty, file, cmd, arg); 663 rc = n_tty_ioctl_helper(tty, file, cmd, arg);
664 break; 664 break;
665 665
666 case FIONREAD: 666 case FIONREAD: