]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/serial/funsoft.c
[PATCH] really fix funsoft driver
[linux-2.6-omap-h63xx.git] / drivers / usb / serial / funsoft.c
index d3be9214c7c117c70489db857935900ad60eba9f..31501c9361b9d43c242cc4a1fc35106a4cd9f110 100644 (file)
@@ -32,7 +32,7 @@ static int funsoft_ioctl(struct usb_serial_port *port, struct file *file,
        dbg("%s - port %d, cmd 0x%04x", __FUNCTION__, port->number, cmd);
 
        if (cmd == TCSETSF) {
-               if (user_termios_to_kernel_termios(&t, (void __user *)arg))
+               if (user_termios_to_kernel_termios(&t, (struct termios __user *)arg))
                        return -EFAULT;
 
                dbg("%s - iflag:%x oflag:%x cflag:%x lflag:%x", __FUNCTION__,