]> err.no Git - linux-2.6/blobdiff - drivers/char/cyclades.c
cciss: fix regression that no device nodes are created if no logical drives are confi...
[linux-2.6] / drivers / char / cyclades.c
index b8fb251f80ee0d3e8a03f1c19f41f1d7cbdd5ab2..ef73e72daedcf978197c062d181a41de86b465d6 100644 (file)
@@ -3490,7 +3490,7 @@ static int cy_tiocmget(struct tty_struct *tty, struct file *file)
        struct BOARD_CTRL __iomem *board_ctrl;
        struct CH_CTRL __iomem *ch_ctrl;
 
-       if (serial_paranoia_check(info, tty->name, __FUNCTION__))
+       if (serial_paranoia_check(info, tty->name, __func__))
                return -ENODEV;
 
        lock_kernel();
@@ -3561,7 +3561,7 @@ cy_tiocmset(struct tty_struct *tty, struct file *file,
        struct CH_CTRL __iomem *ch_ctrl;
        int retval;
 
-       if (serial_paranoia_check(info, tty->name, __FUNCTION__))
+       if (serial_paranoia_check(info, tty->name, __func__))
                return -ENODEV;
 
        card = info->card;