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:
d7950f8
)
sh: remove DMA_ERROR_CODE
author
Christoph Hellwig
<hch@lst.de>
Sun, 21 May 2017 10:48:09 +0000
(12:48 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Tue, 20 Jun 2017 09:13:06 +0000
(11:13 +0200)
sh does not return errors for dma_map_page.
Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/sh/include/asm/dma-mapping.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/include/asm/dma-mapping.h
b/arch/sh/include/asm/dma-mapping.h
index d99008af5f73bde118fb7b513d7315c4bd80d7b4..9b06be07db4db1d110c8e4e71bcc836965572d28 100644
(file)
--- a/
arch/sh/include/asm/dma-mapping.h
+++ b/
arch/sh/include/asm/dma-mapping.h
@@
-9,8
+9,6
@@
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
return dma_ops;
}
-#define DMA_ERROR_CODE 0
-
void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction dir);