提交 b0230a69 编写于 作者: C Christoph Hellwig

microblaze: remove DMA_ERROR_CODE

microblaze does not return errors for dma_map_page.
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 7c72e0d5
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册