Permalink
Browse files

Fix function arguments were previously they matched the typedef by ac…

…cident.
  • Loading branch information...
1 parent b2b93f0 commit 63662c6cfe1105de97c2bef53209cceafbe7fea2 @thompsa thompsa committed May 29, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 sys/dev/usb/controller/usb_controller.c
@@ -485,7 +485,7 @@ SYSUNINIT(usb2_bus_unload, SI_SUB_KLD, SI_ORDER_ANY, usb2_bus_unload, NULL);
#if USB_HAVE_BUSDMA
static void
usb2_bus_mem_flush_all_cb(struct usb_bus *bus, struct usb_page_cache *pc,
- struct usb_page *pg, uint32_t size, uint32_t align)
+ struct usb_page *pg, size_t size, size_t align)
{
usb2_pc_cpu_flush(pc);
}
@@ -510,7 +510,7 @@ usb2_bus_mem_flush_all(struct usb_bus *bus, usb_bus_mem_cb_t *cb)
#if USB_HAVE_BUSDMA
static void
usb2_bus_mem_alloc_all_cb(struct usb_bus *bus, struct usb_page_cache *pc,
- struct usb_page *pg, uint32_t size, uint32_t align)
+ struct usb_page *pg, size_t size, size_t align)
{
/* need to initialize the page cache */
pc->tag_parent = bus->dma_parent_tag;
@@ -570,7 +570,7 @@ usb2_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat,
#if USB_HAVE_BUSDMA
static void
usb2_bus_mem_free_all_cb(struct usb_bus *bus, struct usb_page_cache *pc,
- struct usb_page *pg, uint32_t size, uint32_t align)
+ struct usb_page *pg, size_t size, size_t align)
{
usb2_pc_free_mem(pc);
}

0 comments on commit 63662c6

Please sign in to comment.