diff options
Diffstat (limited to 'arch/powerpc/include/asm/swiotlb.h')
-rw-r--r-- | arch/powerpc/include/asm/swiotlb.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/swiotlb.h b/arch/powerpc/include/asm/swiotlb.h index 30891d6e2bc1..8979d4cd3d70 100644 --- a/arch/powerpc/include/asm/swiotlb.h +++ b/arch/powerpc/include/asm/swiotlb.h | |||
@@ -13,15 +13,13 @@ | |||
13 | 13 | ||
14 | #include <linux/swiotlb.h> | 14 | #include <linux/swiotlb.h> |
15 | 15 | ||
16 | extern struct dma_mapping_ops swiotlb_dma_ops; | 16 | extern struct dma_map_ops swiotlb_dma_ops; |
17 | extern struct dma_mapping_ops swiotlb_pci_dma_ops; | ||
18 | |||
19 | int swiotlb_arch_address_needs_mapping(struct device *, dma_addr_t, | ||
20 | size_t size); | ||
21 | 17 | ||
22 | static inline void dma_mark_clean(void *addr, size_t size) {} | 18 | static inline void dma_mark_clean(void *addr, size_t size) {} |
23 | 19 | ||
24 | extern unsigned int ppc_swiotlb_enable; | 20 | extern unsigned int ppc_swiotlb_enable; |
25 | int __init swiotlb_setup_bus_notifier(void); | 21 | int __init swiotlb_setup_bus_notifier(void); |
26 | 22 | ||
23 | extern void pci_dma_dev_setup_swiotlb(struct pci_dev *pdev); | ||
24 | |||
27 | #endif /* __ASM_SWIOTLB_H */ | 25 | #endif /* __ASM_SWIOTLB_H */ |