lkml.org 
[lkml]   [2011]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 11/12] staging: usbip: vhci.h: reorganize
Date
Split function declarations by source file.

Signed-off-by: matt mooney <mfm@muteddisk.com>
---
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 691cf74..d5bc8e7 100644
--- a/drivers/staging/usbip/vhci.h
+++ b/drivers/staging/usbip/vhci.h
@@ -106,16 +106,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)
{
--
1.7.5.1


\
 
 \ /
  Last update: 2011-05-11 18:37    [W:0.122 / U:3.480 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site