aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-07 17:46:48 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-07 17:46:48 -0400
commit2edd284bd752e58ccb312f3d623267fb79857db3 (patch)
tree2ef946f6217718cf41d07c629f16b8a57936a56d /include/linux/usb
parent3abee859c13ec6a0f49a7234eef011f5d45136f1 (diff)
USB: serial: remove bizarre generic_serial probe function
I can't remember why I wrote it like this many many years ago, but it's not needed at all, let's rely on the usb-serial core for this function, especially as it is being overridden by it anyway. This lets us make usb_serial_probe() a static function, which it should be. Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/serial.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h
index 17e9746bbeb0..749836f2890c 100644
--- a/include/linux/usb/serial.h
+++ b/include/linux/usb/serial.h
@@ -298,9 +298,6 @@ extern void usb_serial_deregister_drivers(struct usb_driver *udriver,
298 struct usb_serial_driver * const serial_drivers[]); 298 struct usb_serial_driver * const serial_drivers[]);
299extern void usb_serial_port_softint(struct usb_serial_port *port); 299extern void usb_serial_port_softint(struct usb_serial_port *port);
300 300
301extern int usb_serial_probe(struct usb_interface *iface,
302 const struct usb_device_id *id);
303
304extern int usb_serial_suspend(struct usb_interface *intf, pm_message_t message); 301extern int usb_serial_suspend(struct usb_interface *intf, pm_message_t message);
305extern int usb_serial_resume(struct usb_interface *intf); 302extern int usb_serial_resume(struct usb_interface *intf);
306 303