aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/pci.h')
-rw-r--r--include/asm-ppc/pci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-ppc/pci.h b/include/asm-ppc/pci.h
index ce5ae6d048f5..002e7b305777 100644
--- a/include/asm-ppc/pci.h
+++ b/include/asm-ppc/pci.h
@@ -103,6 +103,12 @@ extern pgprot_t pci_phys_mem_access_prot(struct file *file,
103 unsigned long size, 103 unsigned long size,
104 pgprot_t prot); 104 pgprot_t prot);
105 105
106#define HAVE_ARCH_PCI_RESOURCE_TO_USER
107extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
108 const struct resource *rsrc,
109 u64 *start, u64 *end);
110
111
106#endif /* __KERNEL__ */ 112#endif /* __KERNEL__ */
107 113
108#endif /* __PPC_PCI_H */ 114#endif /* __PPC_PCI_H */