summaryrefslogtreecommitdiff
path: root/arch/c6x/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-16 18:27:40 +0300
committerChristoph Hellwig <hch@lst.de>2018-05-19 09:46:12 +0300
commit7f5c1ea3b707f349af539c7cb4ade8c9d0ad8452 (patch)
treeaca64e874248e8392c4eb3cb4c96f0446e463d50 /arch/c6x/include/asm/dma-mapping.h
parent6c3e71dd63a0cc0ce3bd1a4340c1d51a609d372c (diff)
downloadlinux-7f5c1ea3b707f349af539c7cb4ade8c9d0ad8452.tar.xz
c6x: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Mark Salter <msalter@redhat.com>
Diffstat (limited to 'arch/c6x/include/asm/dma-mapping.h')
-rw-r--r--arch/c6x/include/asm/dma-mapping.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/c6x/include/asm/dma-mapping.h b/arch/c6x/include/asm/dma-mapping.h
deleted file mode 100644
index 05daf1038111..000000000000
--- a/arch/c6x/include/asm/dma-mapping.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Port on Texas Instruments TMS320C6x architecture
- *
- * Copyright (C) 2004, 2009, 2010, 2011 Texas Instruments Incorporated
- * Author: Aurelien Jacquiot <aurelien.jacquiot@ti.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- */
-#ifndef _ASM_C6X_DMA_MAPPING_H
-#define _ASM_C6X_DMA_MAPPING_H
-
-extern const struct dma_map_ops c6x_dma_ops;
-
-static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
-{
- return &c6x_dma_ops;
-}
-
-extern void coherent_mem_init(u32 start, u32 size);
-void *c6x_dma_alloc(struct device *dev, size_t size, dma_addr_t *handle,
- gfp_t gfp, unsigned long attrs);
-void c6x_dma_free(struct device *dev, size_t size, void *vaddr,
- dma_addr_t dma_handle, unsigned long attrs);
-
-#endif /* _ASM_C6X_DMA_MAPPING_H */