]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: DMA: Remove __REG access
authorTony Lindgren <tony@atomide.com>
Thu, 3 Jul 2008 09:24:36 +0000 (12:24 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Jul 2008 09:24:36 +0000 (12:24 +0300)
commit0499bdeb1dec30325aa282a83f9374fa849aa01c
tree30f16c5516460e8b205d6be967017c9b8c90d4a4
parent4d96372e6daae89166fed7883ee092dc8db80b21
ARM: OMAP: DMA: Remove __REG access

Remove __REG access in DMA code, use dma_read/write instead:

- dynamically set the omap_dma_base based on the omap type
- omap_read/write becomes dma_read/write
- dma channel registers are read with dma_ch_read/write

Cc: David Brownell <david-b@pacbell.net>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c
drivers/usb/gadget/omap_udc.c
include/asm-arm/arch-omap/dma.h