patch-2.3.28 linux/drivers/usb/usb.c

Next file: linux/drivers/usb/usb.h
Previous file: linux/drivers/usb/printer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.27/linux/drivers/usb/usb.c linux/drivers/usb/usb.c
@@ -1304,6 +1304,11 @@
 	return ret;
 }
 
+int usb_bulk_msg(struct usb_device *dev, unsigned int pipe, void *data, int len, unsigned long *rval, int timeout)
+{
+	return dev->bus->op->bulk_msg(dev, pipe, data, len, rval, timeout);
+}
+
 void *usb_request_bulk(struct usb_device *dev, unsigned int pipe, usb_device_irq handler, void *data, int len, void *dev_id)
 {
 	return dev->bus->op->request_bulk(dev, pipe, handler, data, len, dev_id);
@@ -1517,7 +1522,7 @@
 EXPORT_SYMBOL(usb_control_msg);
 EXPORT_SYMBOL(usb_request_irq);
 EXPORT_SYMBOL(usb_release_irq);
-/* EXPORT_SYMBOL(usb_bulk_msg); */
+EXPORT_SYMBOL(usb_bulk_msg);
 EXPORT_SYMBOL(usb_request_bulk);
 EXPORT_SYMBOL(usb_terminate_bulk);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)