diff options
Diffstat (limited to 'arch/sparc/include/asm/io_32.h')
-rw-r--r-- | arch/sparc/include/asm/io_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/io_32.h b/arch/sparc/include/asm/io_32.h index c2ced21c9dc1..2006e5d359df 100644 --- a/arch/sparc/include/asm/io_32.h +++ b/arch/sparc/include/asm/io_32.h | |||
@@ -7,6 +7,7 @@ | |||
7 | 7 | ||
8 | #include <asm/page.h> /* IO address mapping routines need this */ | 8 | #include <asm/page.h> /* IO address mapping routines need this */ |
9 | #include <asm/system.h> | 9 | #include <asm/system.h> |
10 | #include <asm-generic/pci_iomap.h> | ||
10 | 11 | ||
11 | #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) | 12 | #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) |
12 | 13 | ||
@@ -324,7 +325,6 @@ extern void ioport_unmap(void __iomem *); | |||
324 | 325 | ||
325 | /* Create a virtual mapping cookie for a PCI BAR (memory or IO) */ | 326 | /* Create a virtual mapping cookie for a PCI BAR (memory or IO) */ |
326 | struct pci_dev; | 327 | struct pci_dev; |
327 | extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max); | ||
328 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | 328 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); |
329 | 329 | ||
330 | /* | 330 | /* |