summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_mbuf.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-05-29 18:46:57 +0000
committerthompsa <thompsa@FreeBSD.org>2009-05-29 18:46:57 +0000
commit44c17bdf07d7ee7ab581951d10bfe1b3300a21a5 (patch)
tree5ff9fef81906105040348e5e28fafc3efac89f62 /sys/dev/usb/usb_mbuf.c
parent40062c9280416ae05d892e9651e3889e64644621 (diff)
downloadFreeBSD-src-44c17bdf07d7ee7ab581951d10bfe1b3300a21a5.zip
FreeBSD-src-44c17bdf07d7ee7ab581951d10bfe1b3300a21a5.tar.gz
s/usb2_/usb_/ on all typedefs for the USB stack.
Diffstat (limited to 'sys/dev/usb/usb_mbuf.c')
-rw-r--r--sys/dev/usb/usb_mbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_mbuf.c b/sys/dev/usb/usb_mbuf.c
index fdf42fd..8453609 100644
--- a/sys/dev/usb/usb_mbuf.c
+++ b/sys/dev/usb/usb_mbuf.c
@@ -36,12 +36,12 @@
*------------------------------------------------------------------------*/
void *
usb2_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq,
- usb2_size_t block_size, uint16_t nblocks)
+ size_t block_size, uint16_t nblocks)
{
struct usb_mbuf *m_ptr;
uint8_t *data_ptr;
void *free_ptr = NULL;
- usb2_size_t alloc_size;
+ size_t alloc_size;
/* align data */
block_size += ((-block_size) & (USB_HOST_ALIGN - 1));
OpenPOWER on IntegriCloud