aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-11 08:26:37 +0200
committerChristoph Hellwig <hch@lst.de>2020-09-17 18:43:24 +0200
commitf982438e82bbecb32200d5f22f405ec64f1fdd1b (patch)
tree1e7049a065a0af77821d4657ae03511168df5a41 /arch/arm/include/asm/dma-mapping.h
parentdma-direct: Fix potential NULL pointer dereference (diff)
downloadlinux-dev-f982438e82bbecb32200d5f22f405ec64f1fdd1b.tar.xz
linux-dev-f982438e82bbecb32200d5f22f405ec64f1fdd1b.zip
ARM/dma-mapping: remove a __arch_page_to_dma #error
The __arch_page_to_dma hook is long gone. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/arm/include/asm/dma-mapping.h')
-rw-r--r--arch/arm/include/asm/dma-mapping.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/include/asm/dma-mapping.h b/arch/arm/include/asm/dma-mapping.h
index bdd80ddbca34..70d956776560 100644
--- a/arch/arm/include/asm/dma-mapping.h
+++ b/arch/arm/include/asm/dma-mapping.h
@@ -23,10 +23,6 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
return NULL;
}
-#ifdef __arch_page_to_dma
-#error Please update to __arch_pfn_to_dma
-#endif
-
/*
* dma_to_pfn/pfn_to_dma/dma_to_virt/virt_to_dma are architecture private
* functions used internally by the DMA-mapping API to provide DMA