[PATCH] really fix funsoft driver

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>

authored by David Miller and committed by Linus Torvalds 88bf7b39 e3db7691

+2 -2
+1 -1
drivers/usb/serial/Kconfig
··· 170 170 171 171 config USB_SERIAL_FUNSOFT 172 172 tristate "USB Fundamental Software Dongle Driver" 173 - depends on USB_SERIAL && !(SPARC || SPARC64) 173 + depends on USB_SERIAL 174 174 ---help--- 175 175 Say Y here if you want to use the Fundamental Software dongle. 176 176
+1 -1
drivers/usb/serial/funsoft.c
··· 32 32 dbg("%s - port %d, cmd 0x%04x", __FUNCTION__, port->number, cmd); 33 33 34 34 if (cmd == TCSETSF) { 35 - if (user_termios_to_kernel_termios(&t, (void __user *)arg)) 35 + if (user_termios_to_kernel_termios(&t, (struct termios __user *)arg)) 36 36 return -EFAULT; 37 37 38 38 dbg("%s - iflag:%x oflag:%x cflag:%x lflag:%x", __FUNCTION__,