summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2010-05-17 23:44:52 +0000
committerthompsa <thompsa@FreeBSD.org>2010-05-17 23:44:52 +0000
commit107c89d66655e2e6f7c5e48845d28ae268b4cce5 (patch)
treed35bbe9be1305e309a62c6803070c857120eb4e0
parent77504583bafafa0d57fb73d7c6d47af77e1c770e (diff)
downloadFreeBSD-src-107c89d66655e2e6f7c5e48845d28ae268b4cce5.zip
FreeBSD-src-107c89d66655e2e6f7c5e48845d28ae268b4cce5.tar.gz
MFC r208007
Staticise usb_ref_device and usb_unref_device.
-rw-r--r--sys/dev/usb/usb_dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_dev.c b/sys/dev/usb/usb_dev.c
index 2ac5b2e..524890c 100644
--- a/sys/dev/usb/usb_dev.c
+++ b/sys/dev/usb/usb_dev.c
@@ -182,7 +182,7 @@ usb_loc_fill(struct usb_fs_privdata* pd, struct usb_cdev_privdata *cpd)
* 0: Success, refcount incremented on the given USB device.
* Else: Failure.
*------------------------------------------------------------------------*/
-usb_error_t
+static usb_error_t
usb_ref_device(struct usb_cdev_privdata *cpd,
struct usb_cdev_refdata *crd, int need_uref)
{
@@ -327,7 +327,7 @@ usb_usb_ref_device(struct usb_cdev_privdata *cpd,
* This function will release the reference count by one unit for the
* given USB device.
*------------------------------------------------------------------------*/
-void
+static void
usb_unref_device(struct usb_cdev_privdata *cpd,
struct usb_cdev_refdata *crd)
{
OpenPOWER on IntegriCloud