]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: usbip: make rh_port_disconnect static
authorBart Westgeest <bart@elbrys.com>
Wed, 10 Oct 2012 17:34:26 +0000 (13:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 20:36:28 +0000 (13:36 -0700)
Signed-off-by: Bart Westgeest <bart@elbrys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/vhci.h
drivers/staging/usbip/vhci_hcd.c

index c66b8b3f97b40c43b7b07c184934fc44409a9f2a..5dddc4d4b6a566ab0bb224ad85918c7669e25db3 100644 (file)
@@ -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);
index 620d1beb4587cf7ec308cc262e31b6dd009d115a..f6ba22d09501518aba80c2456304d4dbc3c03754 100644 (file)
@@ -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;