diff options
author | matt mooney <mfmooney@gmail.com> | 2011-05-11 01:54:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-11 14:11:14 -0700 |
commit | fc184a35d90927fb82a13043a95c5420335ab824 (patch) | |
tree | a5cb5585df2e84784240bf9ab4fe63bdc7d39127 | |
parent | 499aaae000ef466150a58f31b28f88087da123e6 (diff) | |
download | op-kernel-dev-fc184a35d90927fb82a13043a95c5420335ab824.zip op-kernel-dev-fc184a35d90927fb82a13043a95c5420335ab824.tar.gz |
staging: usbip: vhci.h: reorganize
Split function declarations by source file.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/usbip/vhci.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/staging/usbip/vhci.h b/drivers/staging/usbip/vhci.h index f4834df..d745c4e 100644 --- a/drivers/staging/usbip/vhci.h +++ b/drivers/staging/usbip/vhci.h @@ -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) { |