aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/dma-default.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm/dma-default.c')
-rw-r--r--arch/mips/mm/dma-default.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c
index 1895a692efd4..fe8df14b6169 100644
--- a/arch/mips/mm/dma-default.c
+++ b/arch/mips/mm/dma-default.c
@@ -417,7 +417,7 @@ void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
417 417
418EXPORT_SYMBOL(dma_cache_sync); 418EXPORT_SYMBOL(dma_cache_sync);
419 419
420static struct dma_map_ops mips_default_dma_map_ops = { 420static const struct dma_map_ops mips_default_dma_map_ops = {
421 .alloc = mips_dma_alloc_coherent, 421 .alloc = mips_dma_alloc_coherent,
422 .free = mips_dma_free_coherent, 422 .free = mips_dma_free_coherent,
423 .mmap = mips_dma_mmap, 423 .mmap = mips_dma_mmap,
@@ -433,7 +433,7 @@ static struct dma_map_ops mips_default_dma_map_ops = {
433 .dma_supported = mips_dma_supported 433 .dma_supported = mips_dma_supported
434}; 434};
435 435
436struct dma_map_ops *mips_dma_map_ops = &mips_default_dma_map_ops; 436const struct dma_map_ops *mips_dma_map_ops = &mips_default_dma_map_ops;
437EXPORT_SYMBOL(mips_dma_map_ops); 437EXPORT_SYMBOL(mips_dma_map_ops);
438 438
439#define PREALLOC_DMA_DEBUG_ENTRIES (1 << 16) 439#define PREALLOC_DMA_DEBUG_ENTRIES (1 << 16)