aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/riscom8.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/riscom8.c')
-rw-r--r--drivers/char/riscom8.c4
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);