Commit fc184a35 authored by matt mooney's avatar matt mooney Committed by Greg Kroah-Hartman

staging: usbip: vhci.h: reorganize

Split function declarations by source file.
Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 499aaae0
...@@ -100,16 +100,18 @@ struct vhci_hcd { ...@@ -100,16 +100,18 @@ struct vhci_hcd {
extern struct vhci_hcd *the_controller; extern struct vhci_hcd *the_controller;
extern struct attribute_group dev_attr_group; extern struct attribute_group dev_attr_group;
#define hardware (&the_controller->pdev.dev)
/* vhci_hcd.c */ /* vhci_hcd.c */
void rh_port_connect(int rhport, enum usb_device_speed speed); void rh_port_connect(int rhport, enum usb_device_speed speed);
void rh_port_disconnect(int rhport); 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); 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) static inline struct vhci_device *port_to_vdev(__u32 port)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment