USB: rename usb_buffer_alloc() and usb_buffer_free() users
[linux-2.6.git] / drivers / media / video / au0828 / au0828-video.c
index 8c140c0..a2a0f79 100644 (file)
@@ -177,7 +177,7 @@ void au0828_uninit_isoc(struct au0828_dev *dev)
                                usb_unlink_urb(urb);
 
                        if (dev->isoc_ctl.transfer_buffer[i]) {
-                               usb_buffer_free(dev->usbdev,
+                               usb_free_coherent(dev->usbdev,
                                        urb->transfer_buffer_length,
                                        dev->isoc_ctl.transfer_buffer[i],
                                        urb->transfer_dma);
@@ -247,7 +247,7 @@ int au0828_init_isoc(struct au0828_dev *dev, int max_packets,
                }
                dev->isoc_ctl.urb[i] = urb;
 
-               dev->isoc_ctl.transfer_buffer[i] = usb_buffer_alloc(dev->usbdev,
+               dev->isoc_ctl.transfer_buffer[i] = usb_alloc_coherent(dev->usbdev,
                        sb_size, GFP_KERNEL, &urb->transfer_dma);
                if (!dev->isoc_ctl.transfer_buffer[i]) {
                        printk("unable to allocate %i bytes for transfer"