MIPS: Add DMA declare coherent memory support
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Wed, 3 Jun 2009 15:16:04 +0000 (00:16 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 Nov 2009 17:10:37 +0000 (18:10 +0100)
The ohci-sm501 driver requires dma_declare_coherent_memory().  It is used
by the driver's local memory allocation with dma_alloc_coherent().

Tested on TANBAC TB0287(VR4131 + SM501).

[Ralf: Fixed reject in dma-default.c and removed the entire #if 0'ed block
 in dma-mapping.h instead of just the #if 0.]

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found