aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/i4l/isdn_tty.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-28 05:14:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:34 -0400
commit156f1ed640170d70c9fc8e5f6f797ea1f2a1653b (patch)
tree4709685cf46fce1ef552ccbee6d30f5073f99216 /drivers/isdn/i4l/isdn_tty.c
parentdd58c0dd30ac761837b1d0d8cc434c7ec7b2df68 (diff)
isdn: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/isdn/i4l/isdn_tty.c')
-rw-r--r--drivers/isdn/i4l/isdn_tty.c6
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