diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-03-20 21:50:54 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-03-20 21:50:54 +0000 |
commit | a6782e2e3827f260d7a6ebc061218843605ef765 (patch) | |
tree | 2c0305c112077574481c91ab5419d169d6341a3b /sys/dev/usb/usb_lookup.c | |
parent | e14295c787e7990fac7af1c1f196f279396b88a7 (diff) | |
download | FreeBSD-src-a6782e2e3827f260d7a6ebc061218843605ef765.zip FreeBSD-src-a6782e2e3827f260d7a6ebc061218843605ef765.tar.gz |
MFp4 //depot/projects/usb @159431,159437,159438
- start using the new USB typedefs in the USB core
- Remove usage of USB_ADD_BYTES()
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_lookup.c')
-rw-r--r-- | sys/dev/usb/usb_lookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_lookup.c b/sys/dev/usb/usb_lookup.c index a8fa271..6c707ce 100644 --- a/sys/dev/usb/usb_lookup.c +++ b/sys/dev/usb/usb_lookup.c @@ -42,7 +42,7 @@ * Else: Pointer to matching entry. *------------------------------------------------------------------------*/ const struct usb2_device_id * -usb2_lookup_id_by_info(const struct usb2_device_id *id, uint32_t sizeof_id, +usb2_lookup_id_by_info(const struct usb2_device_id *id, usb2_size_t sizeof_id, const struct usb2_lookup_info *info) { const struct usb2_device_id *id_end; @@ -121,7 +121,7 @@ done: * Else: Failure *------------------------------------------------------------------------*/ int -usb2_lookup_id_by_uaa(const struct usb2_device_id *id, uint32_t sizeof_id, +usb2_lookup_id_by_uaa(const struct usb2_device_id *id, usb2_size_t sizeof_id, struct usb2_attach_arg *uaa) { id = usb2_lookup_id_by_info(id, sizeof_id, &uaa->info); |