summaryrefslogtreecommitdiff
path: root/drivers/staging/usbip
diff options
context:
space:
mode:
authormatt mooney <mfmooney@gmail.com>2011-05-11 01:54:22 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-11 14:11:14 -0700
commit499aaae000ef466150a58f31b28f88087da123e6 (patch)
treea5989533be3e4b8b8987cfdc7b05d6ad66f34c41 /drivers/staging/usbip
parent6973c6f24e105f1bdf811ec2320d2de8798145ee (diff)
staging: usbip: stub.h: reorganize
Move a few functions around for better organization and add missing parameter names in function declarations. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip')
-rw-r--r--drivers/staging/usbip/stub.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/drivers/staging/usbip/stub.h b/drivers/staging/usbip/stub.h
index bfea5dcd6adb..cd3a5bf825c7 100644
--- a/drivers/staging/usbip/stub.h
+++ b/drivers/staging/usbip/stub.h
@@ -86,21 +86,22 @@ struct bus_id_priv {
char shutdown_busid;
};
+/* stub_priv is allocated from stub_priv_cache */
extern struct kmem_cache *stub_priv_cache;
-/* stub_tx.c */
-void stub_complete(struct urb *);
-int stub_tx_loop(void *data);
-
/* stub_dev.c */
extern struct usb_driver stub_driver;
-/* stub_rx.c */
-int stub_rx_loop(void *data);
-void stub_enqueue_ret_unlink(struct stub_device *, __u32, __u32);
-
/* stub_main.c */
struct bus_id_priv *get_busid_priv(const char *busid);
int del_match_busid(char *busid);
-
void stub_device_cleanup_urbs(struct stub_device *sdev);
+
+/* stub_rx.c */
+int stub_rx_loop(void *data);
+
+/* stub_tx.c */
+void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum,
+ __u32 status);
+void stub_complete(struct urb *urb);
+int stub_tx_loop(void *data);