]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] really fix funsoft driver
authorDavid Miller <davem@davemloft.net>
Thu, 11 Jan 2007 07:15:40 +0000 (23:15 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 12 Jan 2007 02:18:21 +0000 (18:18 -0800)
Fix void cast and re-enable on sparc.

Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/serial/Kconfig
drivers/usb/serial/funsoft.c

index c8999ae586520f4f621a56892f4818375666f3ef..2f4d303ee36f927b649cbedb37f7301e3ee564af 100644 (file)
@@ -170,7 +170,7 @@ config USB_SERIAL_FTDI_SIO
 
 config USB_SERIAL_FUNSOFT
        tristate "USB Fundamental Software Dongle Driver"
-       depends on USB_SERIAL && !(SPARC || SPARC64)
+       depends on USB_SERIAL
        ---help---
          Say Y here if you want to use the Fundamental Software dongle.
 
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__,