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:
75fbede
)
m32r: remove DMA_ERROR_CODE
author
Christoph Hellwig
<hch@lst.de>
Sun, 21 May 2017 10:29:17 +0000
(12:29 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Tue, 20 Jun 2017 09:13:03 +0000
(11:13 +0200)
dma-noop is the only dma_mapping_ops instance for m32r and does not return
errors.
Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/m32r/include/asm/dma-mapping.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/m32r/include/asm/dma-mapping.h
b/arch/m32r/include/asm/dma-mapping.h
index c01d9f52d22875a9f4469c0da2addc3ebeff5418..aff3ae8b62f76286c6739b63acc995f3584c971a 100644
(file)
--- a/
arch/m32r/include/asm/dma-mapping.h
+++ b/
arch/m32r/include/asm/dma-mapping.h
@@
-8,8
+8,6
@@
#include <linux/dma-debug.h>
#include <linux/io.h>
-#define DMA_ERROR_CODE (~(dma_addr_t)0x0)
-
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
{
return &dma_noop_ops;