aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_host.c
diff options
context:
space:
mode:
authorRobert Morell <rmorell@nvidia.com>2011-01-26 22:06:47 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-04 14:48:18 -0500
commitc8cf203a1d228fa001b95534f639ffb7a23d5386 (patch)
tree73192ffb1334abf40a62f87e94f870801fc1f629 /drivers/usb/musb/musb_host.c
parentd25bc4db723a44c097268b466ff74bfba4bcc4f3 (diff)
USB: HCD: Add usb_hcd prefix to exported functions
The convention is to prefix symbols exported from the USB HCD core with "usb_hcd". This change makes unmap_urb_setup_for_dma() and unmap_urb_for_dma() consistent with that. Signed-off-by: Robert Morell <rmorell@nvidia.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_host.c')
-rw-r--r--drivers/usb/musb/musb_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c
index 4d5bcb4e14d2..4d2f3f79c425 100644
--- a/drivers/usb/musb/musb_host.c
+++ b/drivers/usb/musb/musb_host.c
@@ -1336,7 +1336,7 @@ void musb_host_tx(struct musb *musb, u8 epnum)
1336 if (length > qh->maxpacket) 1336 if (length > qh->maxpacket)
1337 length = qh->maxpacket; 1337 length = qh->maxpacket;
1338 /* Unmap the buffer so that CPU can use it */ 1338 /* Unmap the buffer so that CPU can use it */
1339 unmap_urb_for_dma(musb_to_hcd(musb), urb); 1339 usb_hcd_unmap_urb_for_dma(musb_to_hcd(musb), urb);
1340 musb_write_fifo(hw_ep, length, urb->transfer_buffer + offset); 1340 musb_write_fifo(hw_ep, length, urb->transfer_buffer + offset);
1341 qh->segsize = length; 1341 qh->segsize = length;
1342 1342
@@ -1758,7 +1758,7 @@ void musb_host_rx(struct musb *musb, u8 epnum)
1758 1758
1759 if (!dma) { 1759 if (!dma) {
1760 /* Unmap the buffer so that CPU can use it */ 1760 /* Unmap the buffer so that CPU can use it */
1761 unmap_urb_for_dma(musb_to_hcd(musb), urb); 1761 usb_hcd_unmap_urb_for_dma(musb_to_hcd(musb), urb);
1762 done = musb_host_packet_rx(musb, urb, 1762 done = musb_host_packet_rx(musb, urb,
1763 epnum, iso_err); 1763 epnum, iso_err);
1764 DBG(6, "read %spacket\n", done ? "last " : ""); 1764 DBG(6, "read %spacket\n", done ? "last " : "");