Re: [PATCH 01/10] MXS-DMA : move the mxs-dma.h to a more common place

From: Shawn Guo
Date: Thu Jan 19 2012 - 07:52:46 EST


On Thu, Jan 19, 2012 at 02:15:58PM +0800, Huang Shijie wrote:
> Move the header to a more common place.
> The DMA engine is not only used in mx23/mx28, but also used
> in mx50/mx6q.
> It will also be used in the future chips.
>
> Rename it to mxs-dma.h
>
> Signed-off-by: Huang Shijie <b32955@xxxxxxxxxxxxx>
> ---
> arch/arm/mach-mxs/include/mach/dma.h | 28 ----------------------------
> include/linux/mxs-dma.h | 28 ++++++++++++++++++++++++++++
> 2 files changed, 28 insertions(+), 28 deletions(-)
> delete mode 100644 arch/arm/mach-mxs/include/mach/dma.h
> create mode 100644 include/linux/mxs-dma.h
>
I'm wondering if it would be better to create folder include/linux/fsl
for mxs-dma.h accommodation, so that any headers that need to shared
between mxs and imx later can find a place. Considering that Freescale
has many IPs shared between MPCxxx (PowerPC) and i.MX (ARM) families,
it could also be a good place for any headers that need to be shared
between these two product lines from Freescale.

--
Regards,
Shawn
--
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/