diff options
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-rw-r--r-- | arch/powerpc/kernel/pci-common.c | 6 |
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; | |||
59 | EXPORT_SYMBOL(isa_mem_base); | 59 | EXPORT_SYMBOL(isa_mem_base); |
60 | 60 | ||
61 | 61 | ||
62 | static struct dma_map_ops *pci_dma_ops = &dma_direct_ops; | 62 | static const struct dma_map_ops *pci_dma_ops = &dma_direct_ops; |
63 | 63 | ||
64 | void set_pci_dma_ops(struct dma_map_ops *dma_ops) | 64 | void 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 | ||
69 | struct dma_map_ops *get_pci_dma_ops(void) | 69 | const struct dma_map_ops *get_pci_dma_ops(void) |
70 | { | 70 | { |
71 | return pci_dma_ops; | 71 | return pci_dma_ops; |
72 | } | 72 | } |