[U-Boot] [RFC v3 01/15] dma: move dma_ops to dma-uclass.h

Simon Glass
2018-02-22T16:18:02Z

On 21 February 2018 at 09:10, Álvaro Fernández Rojas <noltari@gmail.com> wrote:
> Move dma_ops to a separate header file, following other uclass implementations.
> While doing so, this patch also improves dma_ops documentation.
>
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> ---
> v3: Introduce changes reported by Simon Glass:
> - Improve dma-uclass.h documentation.
> - Switch to live tree API.
>
> drivers/dma/dma-uclass.c | 3 ++-
> include/dma-uclass.h | 39 +++++++++++++++++++++++++++++++++++++++
> include/dma.h | 22 ----------------------
> 3 files changed, 41 insertions(+), 23 deletions(-)
> create mode 100644 include/dma-uclass.h

Reviewed-by: Simon Glass <sjg@chromium.org>