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>
This commit is contained in:
Marek Szyprowski 2011-12-21 16:55:57 +01:00
parent 77345520c4
commit 645ae3bce3
1 changed files with 0 additions and 4 deletions

View File

@ -9,10 +9,6 @@
#include <linux/scatterlist.h> #include <linux/scatterlist.h>
struct dma_map_ops { struct dma_map_ops {
void* (*alloc_coherent)(struct device *dev, size_t size,
dma_addr_t *dma_handle, gfp_t gfp);
void (*free_coherent)(struct device *dev, size_t size,
void *vaddr, dma_addr_t dma_handle);
void* (*alloc)(struct device *dev, size_t size, void* (*alloc)(struct device *dev, size_t size,
dma_addr_t *dma_handle, gfp_t gfp, dma_addr_t *dma_handle, gfp_t gfp,
struct dma_attrs *attrs); struct dma_attrs *attrs);