aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_lookup.h
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-05-28 17:36:36 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-05-28 17:36:36 +0000
commit760bc48e7ee4471fe04fa5fee89d00bf7d698ddb (patch)
tree3036722a60a7a9ddd5122172e56736f3e128664b /sys/dev/usb/usb_lookup.h
parent58de945eeb77565ebea70d949ffb610268f7d9ae (diff)
downloadsrc-760bc48e7ee4471fe04fa5fee89d00bf7d698ddb.tar.gz
src-760bc48e7ee4471fe04fa5fee89d00bf7d698ddb.zip
s/usb2_/usb_/ on all C structs for the USB stack.
Notes
Notes: svn path=/head/; revision=192984
Diffstat (limited to 'sys/dev/usb/usb_lookup.h')
-rw-r--r--sys/dev/usb/usb_lookup.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/usb/usb_lookup.h b/sys/dev/usb/usb_lookup.h
index 74d02e5072fa..81d4f0c6119b 100644
--- a/sys/dev/usb/usb_lookup.h
+++ b/sys/dev/usb/usb_lookup.h
@@ -27,14 +27,14 @@
#ifndef _USB2_LOOKUP_H_
#define _USB2_LOOKUP_H_
-struct usb2_attach_arg;
+struct usb_attach_arg;
/*
* The following structure is used when looking up an USB driver for
* an USB device. It is inspired by the Linux structure called
- * "usb2_device_id".
+ * "usb_device_id".
*/
-struct usb2_device_id {
+struct usb_device_id {
/* Hook for driver specific information */
const void *driver_info;
@@ -113,10 +113,10 @@ struct usb2_device_id {
#define USB_GET_DRIVER_INFO(did) \
(((const uint8_t *)((did)->driver_info)) - ((const uint8_t *)0))
-const struct usb2_device_id *usb2_lookup_id_by_info(
- const struct usb2_device_id *id, usb2_size_t sizeof_id,
- const struct usb2_lookup_info *info);
-int usb2_lookup_id_by_uaa(const struct usb2_device_id *id,
- usb2_size_t sizeof_id, struct usb2_attach_arg *uaa);
+const struct usb_device_id *usb2_lookup_id_by_info(
+ const struct usb_device_id *id, usb2_size_t sizeof_id,
+ const struct usb_lookup_info *info);
+int usb2_lookup_id_by_uaa(const struct usb_device_id *id,
+ usb2_size_t sizeof_id, struct usb_attach_arg *uaa);
#endif /* _USB2_LOOKUP_H_ */