Commit 88bf7b39 authored by David Miller's avatar David Miller Committed by Linus Torvalds

[PATCH] really fix funsoft driver

Fix void cast and re-enable on sparc.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e3db7691
...@@ -170,7 +170,7 @@ config USB_SERIAL_FTDI_SIO ...@@ -170,7 +170,7 @@ config USB_SERIAL_FTDI_SIO
config USB_SERIAL_FUNSOFT config USB_SERIAL_FUNSOFT
tristate "USB Fundamental Software Dongle Driver" tristate "USB Fundamental Software Dongle Driver"
depends on USB_SERIAL && !(SPARC || SPARC64) depends on USB_SERIAL
---help--- ---help---
Say Y here if you want to use the Fundamental Software dongle. Say Y here if you want to use the Fundamental Software dongle.
......
...@@ -32,7 +32,7 @@ static int funsoft_ioctl(struct usb_serial_port *port, struct file *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); dbg("%s - port %d, cmd 0x%04x", __FUNCTION__, port->number, cmd);
if (cmd == TCSETSF) { 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; return -EFAULT;
dbg("%s - iflag:%x oflag:%x cflag:%x lflag:%x", __FUNCTION__, dbg("%s - iflag:%x oflag:%x cflag:%x lflag:%x", __FUNCTION__,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment