diff options
Diffstat (limited to 'drivers/isdn/i4l/isdn_tty.c')
-rw-r--r-- | drivers/isdn/i4l/isdn_tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c index 133eb18e65cc..8af0df1d5b8c 100644 --- a/drivers/isdn/i4l/isdn_tty.c +++ b/drivers/isdn/i4l/isdn_tty.c | |||
@@ -1347,7 +1347,7 @@ isdn_tty_tiocmget(struct tty_struct *tty, struct file *file) | |||
1347 | modem_info *info = (modem_info *) tty->driver_data; | 1347 | modem_info *info = (modem_info *) tty->driver_data; |
1348 | u_char control, status; | 1348 | u_char control, status; |
1349 | 1349 | ||
1350 | if (isdn_tty_paranoia_check(info, tty->name, __FUNCTION__)) | 1350 | if (isdn_tty_paranoia_check(info, tty->name, __func__)) |
1351 | return -ENODEV; | 1351 | return -ENODEV; |
1352 | if (tty->flags & (1 << TTY_IO_ERROR)) | 1352 | if (tty->flags & (1 << TTY_IO_ERROR)) |
1353 | return -EIO; | 1353 | return -EIO; |
@@ -1372,7 +1372,7 @@ isdn_tty_tiocmset(struct tty_struct *tty, struct file *file, | |||
1372 | { | 1372 | { |
1373 | modem_info *info = (modem_info *) tty->driver_data; | 1373 | modem_info *info = (modem_info *) tty->driver_data; |
1374 | 1374 | ||
1375 | if (isdn_tty_paranoia_check(info, tty->name, __FUNCTION__)) | 1375 | if (isdn_tty_paranoia_check(info, tty->name, __func__)) |
1376 | return -ENODEV; | 1376 | return -ENODEV; |
1377 | if (tty->flags & (1 << TTY_IO_ERROR)) | 1377 | if (tty->flags & (1 << TTY_IO_ERROR)) |
1378 | return -EIO; | 1378 | return -EIO; |
@@ -1608,7 +1608,7 @@ isdn_tty_open(struct tty_struct *tty, struct file *filp) | |||
1608 | if (isdn_tty_paranoia_check(info, tty->name, "isdn_tty_open")) | 1608 | if (isdn_tty_paranoia_check(info, tty->name, "isdn_tty_open")) |
1609 | return -ENODEV; | 1609 | return -ENODEV; |
1610 | if (!try_module_get(info->owner)) { | 1610 | if (!try_module_get(info->owner)) { |
1611 | printk(KERN_WARNING "%s: cannot reserve module\n", __FUNCTION__); | 1611 | printk(KERN_WARNING "%s: cannot reserve module\n", __func__); |
1612 | return -ENODEV; | 1612 | return -ENODEV; |
1613 | } | 1613 | } |
1614 | #ifdef ISDN_DEBUG_MODEM_OPEN | 1614 | #ifdef ISDN_DEBUG_MODEM_OPEN |