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>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user