Re: [PATCH v1 3/4] dma: dw: split driver to library part and platform code

From: Viresh Kumar
Date: Wed Jun 05 2013 - 04:45:15 EST


On 4 June 2013 18:06, Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> To simplify the driver development let's split driver to library and platform
> code parts. It helps us to add PCI driver in future.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> drivers/dma/Makefile | 2 +-
> drivers/dma/dw/Kconfig | 8 +-
> drivers/dma/dw/Makefile | 6 +-
> drivers/dma/dw/{dw_dmac.c => core.c} | 309 ++++--------------------------
> drivers/dma/dw/internal.h | 74 +++++++
> drivers/dma/dw/platform.c | 308 +++++++++++++++++++++++++++++
> drivers/dma/dw/{dw_dmac_regs.h => regs.h} | 1 +
> 7 files changed, 428 insertions(+), 280 deletions(-)
> rename drivers/dma/dw/{dw_dmac.c => core.c} (85%)
> create mode 100644 drivers/dma/dw/internal.h
> create mode 100644 drivers/dma/dw/platform.c
> rename drivers/dma/dw/{dw_dmac_regs.h => regs.h} (99%)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
--
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/