summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2010-08-05 23:01:11 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-24 05:50:16 +0200
commit85dee135b84f1c7cad252fa4a619ea692077a7fc (patch)
treee057b258899d9c22764ed4d223f8b12d7f1a18ad /drivers/usb
parentUSB: serial: export symbol usb_serial_generic_disconnect (diff)
downloadlinux-85dee135b84f1c7cad252fa4a619ea692077a7fc.tar.xz
linux-85dee135b84f1c7cad252fa4a619ea692077a7fc.zip
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.c2
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)
tty_kref_put(tty);
}
-
static struct usb_serial_driver ssu100_device = {
.driver = {
.owner = THIS_MODULE,
@@ -709,6 +708,7 @@ static struct usb_serial_driver ssu100_device = {
.tiocmset = ssu100_tiocmset,
.ioctl = ssu100_ioctl,
.set_termios = ssu100_set_termios,
+ .disconnect = usb_serial_generic_disconnect,
};
static int __init ssu100_init(void)