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 <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]>
> 
> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to