diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-16 19:27:22 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-07-25 13:33:09 +0200 |
commit | 25622e045a6aed45c9b12d1977fcb3fc3b349a73 (patch) | |
tree | bbdffdedf98ceb2f51dd1e11cf72a91959c1123d /arch/nios2/include/asm/dma-mapping.h | |
parent | swiotlb: clean up reporting (diff) | |
download | linux-dev-25622e045a6aed45c9b12d1977fcb3fc3b349a73.tar.xz linux-dev-25622e045a6aed45c9b12d1977fcb3fc3b349a73.zip |
nios2: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Ley Foon Tan <ley.foon.tan@intel.com>
Tested-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'arch/nios2/include/asm/dma-mapping.h')
-rw-r--r-- | arch/nios2/include/asm/dma-mapping.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/nios2/include/asm/dma-mapping.h b/arch/nios2/include/asm/dma-mapping.h deleted file mode 100644 index 6ceb92251da0..000000000000 --- a/arch/nios2/include/asm/dma-mapping.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch> - * Copyright (C) 2009 Wind River Systems Inc - * - * This file is subject to the terms and conditions of the GNU General - * Public License. See the file COPYING in the main directory of this - * archive for more details. - */ - -#ifndef _ASM_NIOS2_DMA_MAPPING_H -#define _ASM_NIOS2_DMA_MAPPING_H - -extern const struct dma_map_ops nios2_dma_ops; - -static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) -{ - return &nios2_dma_ops; -} - -#endif /* _ASM_NIOS2_DMA_MAPPING_H */ |