summaryrefslogtreecommitdiff
path: root/arch/hexagon/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-21 13:26:24 +0300
committerChristoph Hellwig <hch@lst.de>2017-06-28 16:54:29 +0300
commite830467143ad0b4efeab3e6c9e1d8033a51a4bf9 (patch)
treec8c5f07688621ae19ef57d19d13a907952c8d143 /arch/hexagon/include/asm/dma-mapping.h
parente0d60ac10ec01647bbdd3963831515dde17f2d70 (diff)
downloadlinux-e830467143ad0b4efeab3e6c9e1d8033a51a4bf9.tar.xz
hexagon: switch to use ->mapping_error for error reporting
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/include/asm/dma-mapping.h')
-rw-r--r--arch/hexagon/include/asm/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/hexagon/include/asm/dma-mapping.h b/arch/hexagon/include/asm/dma-mapping.h
index d3a87bd9b686..00e3f10113b0 100644
--- a/arch/hexagon/include/asm/dma-mapping.h
+++ b/arch/hexagon/include/asm/dma-mapping.h
@@ -29,8 +29,6 @@
#include <asm/io.h>
struct device;
-extern int bad_dma_address;
-#define DMA_ERROR_CODE bad_dma_address
extern const struct dma_map_ops *dma_ops;