Re: [PATCH v2 2/4] dma: move dw_dmac driver to an own directory

From: Viresh Kumar
Date: Wed Jun 12 2013 - 05:43:41 EST


On 12 June 2013 14:32, Vinod Koul <vinod.koul@xxxxxxxxx> wrote:
> diff --git a/drivers/dma/dw/regs.h b/drivers/dma/dw/regs.h
> index 07c5a6e..deb4274 100644
> --- a/drivers/dma/dw/regs.h
> +++ b/drivers/dma/dw/regs.h
> @@ -101,6 +101,12 @@ struct dw_dma_regs {
> u32 DW_PARAMS;
> };
>
> +/*
> + * Big endian I/O access when reading and writing to the DMA controller
> + * registers. This is needed on some platforms, like the Atmel AVR32
> + * architecture.
> + */
> +
> #ifdef CONFIG_DW_DMAC_BIG_ENDIAN_IO
> #define dma_readl_native ioread32be
> #define dma_writel_native iowrite32be

Looks. Good.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/