diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-30 03:55:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:54 -0400 |
commit | bf9d89295233ae2ba7b312c78ee5657307b09f4c (patch) | |
tree | 3da2fbcd93937bfa1907a893dc0d418c78f3d37b /drivers/char/cyclades.c | |
parent | 8e24eea728068bbeb6a3c500b848f883a20bf225 (diff) |
drivers/char: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/cyclades.c')
-rw-r--r-- | drivers/char/cyclades.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index b8fb251f80ee..ef73e72daedc 100644 --- a/drivers/char/cyclades.c +++ b/drivers/char/cyclades.c | |||
@@ -3490,7 +3490,7 @@ static int cy_tiocmget(struct tty_struct *tty, struct file *file) | |||
3490 | struct BOARD_CTRL __iomem *board_ctrl; | 3490 | struct BOARD_CTRL __iomem *board_ctrl; |
3491 | struct CH_CTRL __iomem *ch_ctrl; | 3491 | struct CH_CTRL __iomem *ch_ctrl; |
3492 | 3492 | ||
3493 | if (serial_paranoia_check(info, tty->name, __FUNCTION__)) | 3493 | if (serial_paranoia_check(info, tty->name, __func__)) |
3494 | return -ENODEV; | 3494 | return -ENODEV; |
3495 | 3495 | ||
3496 | lock_kernel(); | 3496 | lock_kernel(); |
@@ -3561,7 +3561,7 @@ cy_tiocmset(struct tty_struct *tty, struct file *file, | |||
3561 | struct CH_CTRL __iomem *ch_ctrl; | 3561 | struct CH_CTRL __iomem *ch_ctrl; |
3562 | int retval; | 3562 | int retval; |
3563 | 3563 | ||
3564 | if (serial_paranoia_check(info, tty->name, __FUNCTION__)) | 3564 | if (serial_paranoia_check(info, tty->name, __func__)) |
3565 | return -ENODEV; | 3565 | return -ENODEV; |
3566 | 3566 | ||
3567 | card = info->card; | 3567 | card = info->card; |