[kernel] hooray gratuitous fucking renames

Kyle McMartin kyle at fedoraproject.org
Mon Sep 6 15:57:58 UTC 2010


commit 818f303e6dffa313dd07d8b0424bc9bf562ac691
Author: Kyle McMartin <kyle at ihatethathostname.lab.bos.redhat.com>
Date:   Mon Sep 6 11:57:41 2010 -0400

    hooray gratuitous fucking renames

 add-appleir-usb-driver.patch |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/add-appleir-usb-driver.patch b/add-appleir-usb-driver.patch
index e68d88e..42f5b63 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);
 +}


More information about the scm-commits mailing list