tty: Bring the usb tty port structure into more use
This allows us to clean stuff up, but is probably also going to cause some app breakage with buggy apps as we now implement proper POSIX behaviour for USB ports matching all the other ports. This does also mean other apps that break on USB will now work properly. Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@ -184,8 +184,7 @@ int usb_serial_generic_resume(struct usb_serial *serial)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(usb_serial_generic_resume);
|
||||
|
||||
void usb_serial_generic_close(struct tty_struct *tty,
|
||||
struct usb_serial_port *port, struct file *filp)
|
||||
void usb_serial_generic_close(struct usb_serial_port *port)
|
||||
{
|
||||
dbg("%s - port %d", __func__, port->number);
|
||||
generic_cleanup(port);
|
||||
|
Reference in New Issue
Block a user