diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-08-05 17:01:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-23 23:50:16 -0400 |
commit | 85dee135b84f1c7cad252fa4a619ea692077a7fc (patch) | |
tree | e057b258899d9c22764ed4d223f8b12d7f1a18ad /drivers/usb | |
parent | 5c7efeb76e7dc5145b467657fa049f3c1bd9cf58 (diff) |
USB: ssu100: add disconnect function for ssu100
Add a disconnect function to the functions of this device. The
disconnect is a call to usb_serial_generic_disconnect() so it requires
that symbol to be exported from generic.c.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/ssu100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ssu100.c b/drivers/usb/serial/ssu100.c index e244491b1a0d..55e9672d286a 100644 --- a/drivers/usb/serial/ssu100.c +++ b/drivers/usb/serial/ssu100.c | |||
@@ -687,7 +687,6 @@ static void ssu100_process_read_urb(struct urb *urb) | |||
687 | tty_kref_put(tty); | 687 | tty_kref_put(tty); |
688 | } | 688 | } |
689 | 689 | ||
690 | |||
691 | static struct usb_serial_driver ssu100_device = { | 690 | static struct usb_serial_driver ssu100_device = { |
692 | .driver = { | 691 | .driver = { |
693 | .owner = THIS_MODULE, | 692 | .owner = THIS_MODULE, |
@@ -709,6 +708,7 @@ static struct usb_serial_driver ssu100_device = { | |||
709 | .tiocmset = ssu100_tiocmset, | 708 | .tiocmset = ssu100_tiocmset, |
710 | .ioctl = ssu100_ioctl, | 709 | .ioctl = ssu100_ioctl, |
711 | .set_termios = ssu100_set_termios, | 710 | .set_termios = ssu100_set_termios, |
711 | .disconnect = usb_serial_generic_disconnect, | ||
712 | }; | 712 | }; |
713 | 713 | ||
714 | static int __init ssu100_init(void) | 714 | static int __init ssu100_init(void) |