diff options
author | imp <imp@FreeBSD.org> | 2007-06-13 05:37:59 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2007-06-13 05:37:59 +0000 |
commit | 6e9a4786383ec10525b313b3ce1907287577859e (patch) | |
tree | fa8f5e72ce0493223798a63d12b2964b602aaa17 /sys/dev/usb/uhid.c | |
parent | ca1df96c1a9664f95b9ecb36fac419db0b745b4c (diff) | |
download | FreeBSD-src-6e9a4786383ec10525b313b3ce1907287577859e.zip FreeBSD-src-6e9a4786383ec10525b313b3ce1907287577859e.tar.gz |
Expand USB_DETACH, USB_ATTACH and USB_MATCH inline. No functional
change, and MD5's appear to be the same.
Diffstat (limited to 'sys/dev/usb/uhid.c')
-rw-r--r-- | sys/dev/usb/uhid.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index 7dabdae..c0ae882 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -177,7 +177,8 @@ static int uhid_do_ioctl(struct uhid_softc *, u_long, caddr_t, int, USB_DECLARE_DRIVER(uhid); -USB_MATCH(uhid) +static int +uhid_match(device_t self) { USB_MATCH_START(uhid, uaa); usb_interface_descriptor_t *id; @@ -204,7 +205,8 @@ USB_MATCH(uhid) return (UMATCH_IFACECLASS_GENERIC); } -USB_ATTACH(uhid) +static int +uhid_attach(device_t self) { USB_ATTACH_START(uhid, sc, uaa); usbd_interface_handle iface = uaa->iface; @@ -335,7 +337,8 @@ uhid_activate(device_t self, enum devact act) } #endif -USB_DETACH(uhid) +static int +uhid_detach(device_t self) { USB_DETACH_START(uhid, sc); int s; |