Browse Source

staging: usbip: make rh_port_disconnect static

Signed-off-by: Bart Westgeest <bart@elbrys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Bart Westgeest 12 years ago
parent
commit
20960faca5
2 changed files with 1 additions and 2 deletions
  1. 0 1
      drivers/staging/usbip/vhci.h
  2. 1 1
      drivers/staging/usbip/vhci_hcd.c

+ 0 - 1
drivers/staging/usbip/vhci.h

@@ -99,7 +99,6 @@ extern const struct attribute_group dev_attr_group;
 
 /* vhci_hcd.c */
 void rh_port_connect(int rhport, enum usb_device_speed speed);
-void rh_port_disconnect(int rhport);
 
 /* vhci_rx.c */
 struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, __u32 seqnum);

+ 1 - 1
drivers/staging/usbip/vhci_hcd.c

@@ -149,7 +149,7 @@ void rh_port_connect(int rhport, enum usb_device_speed speed)
 	usb_hcd_poll_rh_status(vhci_to_hcd(the_controller));
 }
 
-void rh_port_disconnect(int rhport)
+static void rh_port_disconnect(int rhport)
 {
 	unsigned long flags;