diff options
Diffstat (limited to 'arch/x86/kernel/pci-swiotlb.c')
-rw-r--r-- | arch/x86/kernel/pci-swiotlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/pci-swiotlb.c b/arch/x86/kernel/pci-swiotlb.c index 410efb2c7b80..1e23577e17cf 100644 --- a/arch/x86/kernel/pci-swiotlb.c +++ b/arch/x86/kernel/pci-swiotlb.c | |||
@@ -45,7 +45,7 @@ void x86_swiotlb_free_coherent(struct device *dev, size_t size, | |||
45 | dma_generic_free_coherent(dev, size, vaddr, dma_addr, attrs); | 45 | dma_generic_free_coherent(dev, size, vaddr, dma_addr, attrs); |
46 | } | 46 | } |
47 | 47 | ||
48 | static struct dma_map_ops swiotlb_dma_ops = { | 48 | static const struct dma_map_ops swiotlb_dma_ops = { |
49 | .mapping_error = swiotlb_dma_mapping_error, | 49 | .mapping_error = swiotlb_dma_mapping_error, |
50 | .alloc = x86_swiotlb_alloc_coherent, | 50 | .alloc = x86_swiotlb_alloc_coherent, |
51 | .free = x86_swiotlb_free_coherent, | 51 | .free = x86_swiotlb_free_coherent, |