aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-rw-r--r--arch/powerpc/kernel/pci-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index 74bec5498972..09db4778435c 100644
--- a/arch/powerpc/kernel/pci-common.c
+++ b/arch/powerpc/kernel/pci-common.c
@@ -59,14 +59,14 @@ resource_size_t isa_mem_base;
59EXPORT_SYMBOL(isa_mem_base); 59EXPORT_SYMBOL(isa_mem_base);
60 60
61 61
62static struct dma_map_ops *pci_dma_ops = &dma_direct_ops; 62static const struct dma_map_ops *pci_dma_ops = &dma_direct_ops;
63 63
64void set_pci_dma_ops(struct dma_map_ops *dma_ops) 64void set_pci_dma_ops(const struct dma_map_ops *dma_ops)
65{ 65{
66 pci_dma_ops = dma_ops; 66 pci_dma_ops = dma_ops;
67} 67}
68 68
69struct dma_map_ops *get_pci_dma_ops(void) 69const struct dma_map_ops *get_pci_dma_ops(void)
70{ 70{
71 return pci_dma_ops; 71 return pci_dma_ops;
72} 72}