diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/sata_dwc.c | 1 | ||||
-rw-r--r-- | drivers/ata/sata_dwc.h | 7 | ||||
-rw-r--r-- | drivers/mmc/uniphier-sd.c | 2 |
3 files changed, 2 insertions, 8 deletions
diff --git a/drivers/ata/sata_dwc.c b/drivers/ata/sata_dwc.c index a226ca2dec..2f3b2ddb41 100644 --- a/drivers/ata/sata_dwc.c +++ b/drivers/ata/sata_dwc.c @@ -26,6 +26,7 @@ #include <command.h> #include <pci.h> #include <asm/processor.h> +#include <linux/dma-direction.h> #include <linux/errno.h> #include <asm/io.h> #include <malloc.h> diff --git a/drivers/ata/sata_dwc.h b/drivers/ata/sata_dwc.h index e2d9e0c1fc..17fb20cf43 100644 --- a/drivers/ata/sata_dwc.h +++ b/drivers/ata/sata_dwc.h @@ -401,13 +401,6 @@ struct ata_device { #endif }; -enum dma_data_direction { - DMA_BIDIRECTIONAL = 0, - DMA_TO_DEVICE = 1, - DMA_FROM_DEVICE = 2, - DMA_NONE = 3, -}; - struct ata_link { struct ata_port *ap; int pmp; diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c index e272b14153..721b75fdda 100644 --- a/drivers/mmc/uniphier-sd.c +++ b/drivers/mmc/uniphier-sd.c @@ -11,10 +11,10 @@ #include <mmc.h> #include <dm.h> #include <linux/compat.h> +#include <linux/dma-direction.h> #include <linux/io.h> #include <linux/sizes.h> #include <asm/unaligned.h> -#include <asm/dma-mapping.h> DECLARE_GLOBAL_DATA_PTR; |