Skip to content

Commit

Permalink
USB: ssu100: add disconnect function for ssu100
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Aug 24, 2010
1 parent 5c7efeb commit 85dee13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/ssu100.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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)
Expand Down

0 comments on commit 85dee13

Please sign in to comment.