aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-06-20 04:19:45 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2018-07-23 09:07:12 -0400
commit9eb8be602bf8d550a33b4e1f9fac543bd5c89f4d (patch)
treee93f1d02f41d47e11a152e65139aa02214b53ae5 /arch/m68k/include/asm/dma-mapping.h
parenta8c5cb994341d4af6d75286fcb66684e53295135 (diff)
m68k: Use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Greg Ungerer <gerg@linux-m68k.org> Tested-by: Greg Ungerer <gerg@linux-m68k.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/dma-mapping.h')
-rw-r--r--arch/m68k/include/asm/dma-mapping.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/m68k/include/asm/dma-mapping.h b/arch/m68k/include/asm/dma-mapping.h
deleted file mode 100644
index e3722ed04fbb..000000000000
--- a/arch/m68k/include/asm/dma-mapping.h
+++ /dev/null
@@ -1,12 +0,0 @@
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _M68K_DMA_MAPPING_H
3#define _M68K_DMA_MAPPING_H
4
5extern const struct dma_map_ops m68k_dma_ops;
6
7static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
8{
9 return &m68k_dma_ops;
10}
11
12#endif /* _M68K_DMA_MAPPING_H */