summaryrefslogtreecommitdiffstats
path: root/add-appleir-usb-driver.patch
diff options
context:
space:
mode:
authorKyle McMartin <kyle@ihatethathostname.lab.bos.redhat.com>2010-09-06 11:57:41 -0400
committerKyle McMartin <kyle@ihatethathostname.lab.bos.redhat.com>2010-09-06 11:57:41 -0400
commit818f303e6dffa313dd07d8b0424bc9bf562ac691 (patch)
tree2606eef9578a00d7449e937e625564d61ec539e0 /add-appleir-usb-driver.patch
parent407cbd0d30a3206368471ca459bf0b950a762b71 (diff)
downloadkernel-818f303e6dffa313dd07d8b0424bc9bf562ac691.tar.gz
kernel-818f303e6dffa313dd07d8b0424bc9bf562ac691.tar.xz
kernel-818f303e6dffa313dd07d8b0424bc9bf562ac691.zip
hooray gratuitous fucking renames
Diffstat (limited to 'add-appleir-usb-driver.patch')
-rw-r--r--add-appleir-usb-driver.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/add-appleir-usb-driver.patch b/add-appleir-usb-driver.patch
index e68d88ed4..42f5b637b 100644
--- a/add-appleir-usb-driver.patch
+++ b/add-appleir-usb-driver.patch
@@ -439,7 +439,7 @@ index 0000000..cff4df6
+ if (!appleir)
+ goto allocfail;
+
-+ appleir->data = usb_buffer_alloc(dev, URB_SIZE, GFP_KERNEL,
++ appleir->data = usb_alloc_coherent(dev, URB_SIZE, GFP_KERNEL,
+ &appleir->dma_buf);
+ if (!appleir->data)
+ goto usbfail;
@@ -506,7 +506,7 @@ index 0000000..cff4df6
+ usb_free_urb(appleir->urb);
+
+usbfail:
-+ usb_buffer_free(dev, URB_SIZE, appleir->data,
++ usb_free_coherent(dev, URB_SIZE, appleir->data,
+ appleir->dma_buf);
+
+allocfail:
@@ -522,7 +522,7 @@ index 0000000..cff4df6
+ usb_set_intfdata(intf, NULL);
+ input_unregister_device(appleir->input_dev);
+ usb_free_urb(appleir->urb);
-+ usb_buffer_free(interface_to_usbdev(intf), URB_SIZE,
++ usb_free_coherent(interface_to_usbdev(intf), URB_SIZE,
+ appleir->data, appleir->dma_buf);
+ kfree(appleir);
+}