git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-next-dma_ops' of git://git.kernel.org/pub/scm/linux/kernel/git/dledfor...
[sfrench/cifs-2.6.git]
/
arch
/
mips
/
loongson64
/
common
/
dma-swiotlb.c
diff --git
a/arch/mips/loongson64/common/dma-swiotlb.c
b/arch/mips/loongson64/common/dma-swiotlb.c
index df7235e334997a2398b4ddf6af96347a5d2be764..178ca17a5667ee4d8584bfc585d69d3e88c7a6ba 100644
(file)
--- a/
arch/mips/loongson64/common/dma-swiotlb.c
+++ b/
arch/mips/loongson64/common/dma-swiotlb.c
@@
-114,7
+114,7
@@
phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr)
return daddr;
}
-static struct dma_map_ops loongson_dma_map_ops = {
+static
const
struct dma_map_ops loongson_dma_map_ops = {
.alloc = loongson_dma_alloc_coherent,
.free = loongson_dma_free_coherent,
.map_page = loongson_dma_map_page,