common: dma-mapping: remove old alloc_coherent and free_coherent methods
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 21 Dec 2011 15:55:57 +0000 (16:55 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 28 Mar 2012 14:36:41 +0000 (16:36 +0200)
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>
include/linux/dma-mapping.h

index 8cc7f95289ac03770b61ed0ac8f042d8d95f8e9a..2fc413a873eac567260d2bc7459abf255db0a821 100644 (file)
@@ -9,10 +9,6 @@
 #include <linux/scatterlist.h>
 
 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,
                                dma_addr_t *dma_handle, gfp_t gfp,
                                struct dma_attrs *attrs);