]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: usbip: vhci.h: reorganize
authormatt mooney <mfmooney@gmail.com>
Wed, 11 May 2011 08:54:23 +0000 (01:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 21:11:14 +0000 (14:11 -0700)
Split function declarations by source file.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci.h

index f4834df94d1579ce72ed8c11e587fdf80fa6893b..d745c4ebd05c7569b3b991976721734a9dc90b9c 100644 (file)
@@ -100,16 +100,18 @@ struct vhci_hcd {
 
 extern struct vhci_hcd *the_controller;
 extern struct attribute_group dev_attr_group;
+#define hardware (&the_controller->pdev.dev)
 
 /* vhci_hcd.c */
 void rh_port_connect(int rhport, enum usb_device_speed speed);
 void rh_port_disconnect(int rhport);
-int vhci_rx_loop(void *data);
-int vhci_tx_loop(void *data);
 
+/* vhci_rx.c */
 struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, __u32 seqnum);
+int vhci_rx_loop(void *data);
 
-#define hardware (&the_controller->pdev.dev)
+/* vhci_tx.c */
+int vhci_tx_loop(void *data);
 
 static inline struct vhci_device *port_to_vdev(__u32 port)
 {