]> Pileus Git - ~andy/linux/blobdiff - include/linux/usb.h
usb-core: Make usb_free_streams return an error
[~andy/linux] / include / linux / usb.h
index 001629cd1a97b831f2eb448013c114b3a76f0de7..f726c39097e044d2bec294054a42bff87b5c46f7 100644 (file)
@@ -702,7 +702,7 @@ extern int usb_alloc_streams(struct usb_interface *interface,
                unsigned int num_streams, gfp_t mem_flags);
 
 /* Reverts a group of bulk endpoints back to not using stream IDs. */
-extern void usb_free_streams(struct usb_interface *interface,
+extern int usb_free_streams(struct usb_interface *interface,
                struct usb_host_endpoint **eps, unsigned int num_eps,
                gfp_t mem_flags);