projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a80ae
)
xtensa: remove DMA_ERROR_CODE
author
Christoph Hellwig
<hch@lst.de>
Sun, 21 May 2017 10:49:22 +0000
(12:49 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Tue, 20 Jun 2017 09:13:07 +0000
(11:13 +0200)
xtensa already implements the mapping_error method for its only
dma_map_ops instance.
Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/xtensa/include/asm/dma-mapping.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/xtensa/include/asm/dma-mapping.h
b/arch/xtensa/include/asm/dma-mapping.h
index c6140fa8c0beb7512f9973218399ee03f1b38cc1..269738dc9d1d7402d325b475305aeed4410bbee5 100644
(file)
--- a/
arch/xtensa/include/asm/dma-mapping.h
+++ b/
arch/xtensa/include/asm/dma-mapping.h
@@
-16,8
+16,6
@@
#include <linux/mm.h>
#include <linux/scatterlist.h>
-#define DMA_ERROR_CODE (~(dma_addr_t)0x0)
-
extern const struct dma_map_ops xtensa_dma_map_ops;
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)