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

openrisc: remove DMA_ERROR_CODE

openrisc does not return errors for dma_map_page.
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 b0230a69
......@@ -26,8 +26,6 @@
#include <linux/kmemcheck.h>
#include <linux/dma-mapping.h>
#define DMA_ERROR_CODE (~(dma_addr_t)0x0)
extern const struct dma_map_ops or1k_dma_map_ops;
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册