Skip to content

Commit

Permalink
[PATCH] really fix funsoft driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Miller authored and Linus Torvalds committed Jan 12, 2007
1 parent e3db769 commit 88bf7b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/usb/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/serial/funsoft.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__,
Expand Down

0 comments on commit 88bf7b3

Please sign in to comment.