Skip to content

Commit

Permalink
[MIPS] Don't claim we support dma_declare_coherent_memory - we don't.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Feb 13, 2007
1 parent 9a88cbb commit 84b47a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-mips/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,14 @@ extern int dma_is_consistent(struct device *dev, dma_addr_t dma_addr);
extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction direction);

#if 0
#define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY

extern int dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,
dma_addr_t device_addr, size_t size, int flags);
extern void dma_release_declared_memory(struct device *dev);
extern void * dma_mark_declared_memory_occupied(struct device *dev,
dma_addr_t device_addr, size_t size);
#endif

#endif /* _ASM_DMA_MAPPING_H */

0 comments on commit 84b47a9

Please sign in to comment.