Re: [PATCH 05/21] ARM: OMAP: DMA: Remove __REG access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 06, 2008 at 06:30:37PM -0700, Tony Lindgren wrote:
> 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@xxxxxxxxxxx>
> Cc: linux-usb@xxxxxxxxxxxxxxx
> Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
> 
> diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
> index 02f00a9..50f83bc 100644
> --- a/arch/arm/plat-omap/dma.c
> +++ b/arch/arm/plat-omap/dma.c
> @@ -126,6 +126,7 @@ static int dma_chan_count;
>  
>  static spinlock_t dma_chan_lock;
>  static struct omap_dma_lch *dma_chan;
> +void __iomem *omap_dma_base;

Shouldn't this be static?
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux