aboutsummaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2018-11-28 19:17:49 +0100
committerTom Rini <trini@konsulko.com>2018-12-07 08:13:45 -0500
commit10b4dc520811fdfc5a31f6067be2b0cd0753998d (patch)
treec5dd61f53ac06d1e2e010ed91a3f741f81bea398 /drivers/dma
parent205b010caf8d07e95c49efcbe15cad3fc5c8f31f (diff)
downloadu-boot-10b4dc520811fdfc5a31f6067be2b0cd0753998d.zip
u-boot-10b4dc520811fdfc5a31f6067be2b0cd0753998d.tar.gz
u-boot-10b4dc520811fdfc5a31f6067be2b0cd0753998d.tar.bz2
dma: move dma_ops to dma-uclass.h
Move dma_ops to a separate header file, following other uclass implementations. While doing so, this patch also improves dma_ops documentation. Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/dma-uclass.c2
-rw-r--r--drivers/dma/ti-edma3.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/dma-uclass.c b/drivers/dma/dma-uclass.c
index a33f7d5..6c3506c 100644
--- a/drivers/dma/dma-uclass.c
+++ b/drivers/dma/dma-uclass.c
@@ -9,10 +9,10 @@
*/
#include <common.h>
-#include <dma.h>
#include <dm.h>
#include <dm/uclass-internal.h>
#include <dm/device-internal.h>
+#include <dma-uclass.h>
#include <errno.h>
int dma_get_device(u32 transfer_type, struct udevice **devp)
diff --git a/drivers/dma/ti-edma3.c b/drivers/dma/ti-edma3.c
index 2131e10..7e11b13 100644
--- a/drivers/dma/ti-edma3.c
+++ b/drivers/dma/ti-edma3.c
@@ -11,7 +11,7 @@
#include <asm/io.h>
#include <common.h>
#include <dm.h>
-#include <dma.h>
+#include <dma-uclass.h>
#include <asm/omap_common.h>
#include <asm/ti-common/ti-edma3.h>