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/riscom8.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/riscom8.c')
-rw-r--r-- | drivers/char/riscom8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/riscom8.c b/drivers/char/riscom8.c index 45e73bd8bd11..f073c710ab8d 100644 --- a/drivers/char/riscom8.c +++ b/drivers/char/riscom8.c | |||
@@ -1222,7 +1222,7 @@ static int rc_tiocmget(struct tty_struct *tty, struct file *file) | |||
1222 | unsigned int result; | 1222 | unsigned int result; |
1223 | unsigned long flags; | 1223 | unsigned long flags; |
1224 | 1224 | ||
1225 | if (rc_paranoia_check(port, tty->name, __FUNCTION__)) | 1225 | if (rc_paranoia_check(port, tty->name, __func__)) |
1226 | return -ENODEV; | 1226 | return -ENODEV; |
1227 | 1227 | ||
1228 | bp = port_Board(port); | 1228 | bp = port_Board(port); |
@@ -1250,7 +1250,7 @@ static int rc_tiocmset(struct tty_struct *tty, struct file *file, | |||
1250 | unsigned long flags; | 1250 | unsigned long flags; |
1251 | struct riscom_board *bp; | 1251 | struct riscom_board *bp; |
1252 | 1252 | ||
1253 | if (rc_paranoia_check(port, tty->name, __FUNCTION__)) | 1253 | if (rc_paranoia_check(port, tty->name, __func__)) |
1254 | return -ENODEV; | 1254 | return -ENODEV; |
1255 | 1255 | ||
1256 | bp = port_Board(port); | 1256 | bp = port_Board(port); |