diff options
| author | Álvaro Fernández Rojas <[email protected]> | 2018-11-28 19:17:49 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-12-07 08:13:45 -0500 |
| commit | 10b4dc520811fdfc5a31f6067be2b0cd0753998d (patch) | |
| tree | c5dd61f53ac06d1e2e010ed91a3f741f81bea398 /drivers | |
| parent | 205b010caf8d07e95c49efcbe15cad3fc5c8f31f (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Signed-off-by: Grygorii Strashko <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/dma/dma-uclass.c | 2 | ||||
| -rw-r--r-- | drivers/dma/ti-edma3.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/dma-uclass.c b/drivers/dma/dma-uclass.c index a33f7d52dac..6c3506c302d 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 2131e10a408..7e11b13e45c 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> |
