diff options
author | thompsa <thompsa@FreeBSD.org> | 2010-05-12 22:28:40 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2010-05-12 22:28:40 +0000 |
commit | 2cc73b6656a9910435455e662e86cf485e86b069 (patch) | |
tree | 5b19860b31e53724fc4820c18d844474188b7b55 /sys/dev/usb | |
parent | 44d8f1d202498520b3bbefbe57b720d1b70f6b62 (diff) | |
download | FreeBSD-src-2cc73b6656a9910435455e662e86cf485e86b069.zip FreeBSD-src-2cc73b6656a9910435455e662e86cf485e86b069.tar.gz |
Staticise usb_ref_device and usb_unref_device.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/usb_dev.c | 4 |
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) { |