USB: replace dma_sync_single and dma_sync_sg with dma_sync_single_for_cpu and dma_syn...
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 28 May 2009 01:10:44 +0000 (10:10 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:46 +0000 (21:44 -0700)
commit9b8e7ba68ad0e4273f4897950de65bc311552cd1
treeb1f9d3ad7e174fa8b4eadd6ae5d6eb42bf9aed10
parentb18ffd49e86102a9ed0a1cc83fdafe3891e844e5
USB: replace dma_sync_single and dma_sync_sg with dma_sync_single_for_cpu and dma_sync_sg_for_cpu

This replaces dma_sync_single() and dma_sync_sg() with
dma_sync_single_for_cpu() and dma_sync_sg_for_cpu() respectively
because they is an obsolete API; include/linux/dma-mapping.h says:

/* Backwards compat, remove in 2.7.x */
#define dma_sync_single dma_sync_single_for_cpu
#define dma_sync_sg dma_sync_sg_for_cpu

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/usb.c