forked from Minki/linux
microblaze: remove DMA_ERROR_CODE
microblaze does not return errors for dma_map_page. Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
7c72e0d557
commit
b0230a6952
@ -28,8 +28,6 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/cacheflush.h>
|
||||
|
||||
#define DMA_ERROR_CODE (~(dma_addr_t)0x0)
|
||||
|
||||
#define __dma_alloc_coherent(dev, gfp, size, handle) NULL
|
||||
#define __dma_free_coherent(size, addr) ((void)0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user