aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r--include/asm-ppc64/pci.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-ppc64/pci.h b/include/asm-ppc64/pci.h
index 6cd593f660a0..411bf5dee394 100644
--- a/include/asm-ppc64/pci.h
+++ b/include/asm-ppc64/pci.h
@@ -136,6 +136,13 @@ extern pgprot_t pci_phys_mem_access_prot(struct file *file,
136 unsigned long size, 136 unsigned long size,
137 pgprot_t prot); 137 pgprot_t prot);
138 138
139#ifdef CONFIG_PPC_MULTIPLATFORM
140#define HAVE_ARCH_PCI_RESOURCE_TO_USER
141extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
142 const struct resource *rsrc,
143 u64 *start, u64 *end);
144#endif /* CONFIG_PPC_MULTIPLATFORM */
145
139 146
140#endif /* __KERNEL__ */ 147#endif /* __KERNEL__ */
141 148