diff options
author | Christoph Hellwig <hch@lst.de> | 2017-12-20 11:57:40 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-09 16:28:37 +0100 |
commit | 57723cb363ffb3071c7b4ca27927e7e34f26fb2f (patch) | |
tree | c485b9840466370b963a941d455c8fe515569acc /arch/arc/include | |
parent | c91a7a405bc4f80f87b7fdda492154cfd17987e0 (diff) | |
download | linux-57723cb363ffb3071c7b4ca27927e7e34f26fb2f.tar.gz linux-57723cb363ffb3071c7b4ca27927e7e34f26fb2f.tar.bz2 linux-57723cb363ffb3071c7b4ca27927e7e34f26fb2f.zip |
arc: remove CONFIG_ARC_PLAT_NEEDS_PHYS_TO_DMA
We always use the stub definitions, so remove the unused other code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include')
-rw-r--r-- | arch/arc/include/asm/dma-mapping.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arc/include/asm/dma-mapping.h b/arch/arc/include/asm/dma-mapping.h index 94285031c4fb..7a16824bfe98 100644 --- a/arch/arc/include/asm/dma-mapping.h +++ b/arch/arc/include/asm/dma-mapping.h @@ -11,13 +11,6 @@ #ifndef ASM_ARC_DMA_MAPPING_H #define ASM_ARC_DMA_MAPPING_H -#ifndef CONFIG_ARC_PLAT_NEEDS_PHYS_TO_DMA -#define plat_dma_to_phys(dev, dma_handle) ((phys_addr_t)(dma_handle)) -#define plat_phys_to_dma(dev, paddr) ((dma_addr_t)(paddr)) -#else -#include <plat/dma.h> -#endif - extern const struct dma_map_ops arc_dma_ops; static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) |