diff options
Diffstat (limited to 'arch/powerpc/include/asm/pci.h')
-rw-r--r-- | arch/powerpc/include/asm/pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h index e9bd6cf0212f..93eded8d3843 100644 --- a/arch/powerpc/include/asm/pci.h +++ b/arch/powerpc/include/asm/pci.h | |||
@@ -53,8 +53,8 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) | |||
53 | } | 53 | } |
54 | 54 | ||
55 | #ifdef CONFIG_PCI | 55 | #ifdef CONFIG_PCI |
56 | extern void set_pci_dma_ops(struct dma_map_ops *dma_ops); | 56 | extern void set_pci_dma_ops(const struct dma_map_ops *dma_ops); |
57 | extern struct dma_map_ops *get_pci_dma_ops(void); | 57 | extern const struct dma_map_ops *get_pci_dma_ops(void); |
58 | #else /* CONFIG_PCI */ | 58 | #else /* CONFIG_PCI */ |
59 | #define set_pci_dma_ops(d) | 59 | #define set_pci_dma_ops(d) |
60 | #define get_pci_dma_ops() NULL | 60 | #define get_pci_dma_ops() NULL |