aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dma-mapping.h
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2011-12-21 10:55:57 -0500
committerMarek Szyprowski <m.szyprowski@samsung.com>2012-03-28 10:36:41 -0400
commit645ae3bce3e62541f8dc2701dde2a2791d842b6c (patch)
tree0d2ee42e8e7e25e182f8b31d907680c8e2402b2d /include/linux/dma-mapping.h
parent77345520c465ccb85e4ed2c8ba352a159f60c2e4 (diff)
common: dma-mapping: remove old alloc_coherent and free_coherent methods
Remove old, unused alloc_coherent and free_coherent methods from dma_map_ops structure. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/dma-mapping.h')
-rw-r--r--include/linux/dma-mapping.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index 8cc7f95289ac..2fc413a873ea 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -9,10 +9,6 @@
9#include <linux/scatterlist.h> 9#include <linux/scatterlist.h>
10 10
11struct dma_map_ops { 11struct dma_map_ops {
12 void* (*alloc_coherent)(struct device *dev, size_t size,
13 dma_addr_t *dma_handle, gfp_t gfp);
14 void (*free_coherent)(struct device *dev, size_t size,
15 void *vaddr, dma_addr_t dma_handle);
16 void* (*alloc)(struct device *dev, size_t size, 12 void* (*alloc)(struct device *dev, size_t size,
17 dma_addr_t *dma_handle, gfp_t gfp, 13 dma_addr_t *dma_handle, gfp_t gfp,
18 struct dma_attrs *attrs); 14 struct dma_attrs *attrs);