diff options
Diffstat (limited to 'arch/microblaze/include/asm/pci.h')
-rw-r--r-- | arch/microblaze/include/asm/pci.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index 2a120bb70e54..efd4983cb697 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h | |||
@@ -46,12 +46,10 @@ extern int pci_domain_nr(struct pci_bus *bus); | |||
46 | extern int pci_proc_domain(struct pci_bus *bus); | 46 | extern int pci_proc_domain(struct pci_bus *bus); |
47 | 47 | ||
48 | struct vm_area_struct; | 48 | struct vm_area_struct; |
49 | /* Map a range of PCI memory or I/O space for a device into user space */ | ||
50 | int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma, | ||
51 | enum pci_mmap_state mmap_state, int write_combine); | ||
52 | 49 | ||
53 | /* Tell drivers/pci/proc.c that we have pci_mmap_page_range() */ | 50 | /* Tell drivers/pci/proc.c that we have pci_mmap_page_range() */ |
54 | #define HAVE_PCI_MMAP 1 | 51 | #define HAVE_PCI_MMAP 1 |
52 | #define arch_can_pci_mmap_io() 1 | ||
55 | 53 | ||
56 | extern int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, | 54 | extern int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, |
57 | size_t count); | 55 | size_t count); |