summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-16 17:13:32 +0100
committerJohan Hovold <johan@kernel.org>2017-03-28 10:54:39 +0200
commita794499b261b8487a984783ccc864975e1bcc7bf (patch)
tree57dfa404104d6fd86e756c1c10dd5d1ff3e9143b /include/linux/usb
parent415d7b3a5407d91fdf47a07fd31d63e4b548651f (diff)
downloadop-kernel-dev-a794499b261b8487a984783ccc864975e1bcc7bf.zip
op-kernel-dev-a794499b261b8487a984783ccc864975e1bcc7bf.tar.gz
USB: serial: add calc_num_ports callback to generic driver
Add a calc_num_ports callback to the generic driver and verify that the device has the required endpoints there instead of in core. Note that the generic driver num_ports field was never used. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/serial.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h
index da52881..e2f0ab0 100644
--- a/include/linux/usb/serial.h
+++ b/include/linux/usb/serial.h
@@ -379,7 +379,6 @@ extern void usb_serial_handle_dcd_change(struct usb_serial_port *usb_port,
extern int usb_serial_bus_register(struct usb_serial_driver *device);
extern void usb_serial_bus_deregister(struct usb_serial_driver *device);
-extern struct usb_serial_driver usb_serial_generic_device;
extern struct bus_type usb_serial_bus_type;
extern struct tty_driver *usb_serial_tty_driver;
OpenPOWER on IntegriCloud