Skip to content

Commit

Permalink
common: dma-mapping: remove old alloc_coherent and free_coherent methods
Browse files Browse the repository at this point in the history
Remove old, unused alloc_coherent and free_coherent methods from
dma_map_ops structure.

Signed-off-by: Marek Szyprowski <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
  • Loading branch information
mszyprow committed Mar 28, 2012
1 parent 7734552 commit 645ae3b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/linux/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 645ae3b

Please sign in to comment.