diff options
Diffstat (limited to 'arch/xtensa/include/asm/pci.h')
-rw-r--r-- | arch/xtensa/include/asm/pci.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/xtensa/include/asm/pci.h b/arch/xtensa/include/asm/pci.h index 5d6bd932ba4e..e4f366a488d3 100644 --- a/arch/xtensa/include/asm/pci.h +++ b/arch/xtensa/include/asm/pci.h | |||
@@ -46,12 +46,9 @@ struct pci_dev; | |||
46 | 46 | ||
47 | #define PCI_DMA_BUS_IS_PHYS (1) | 47 | #define PCI_DMA_BUS_IS_PHYS (1) |
48 | 48 | ||
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 | |||
53 | /* Tell drivers/pci/proc.c that we have pci_mmap_page_range() */ | 49 | /* Tell drivers/pci/proc.c that we have pci_mmap_page_range() */ |
54 | #define HAVE_PCI_MMAP 1 | 50 | #define HAVE_PCI_MMAP 1 |
51 | #define arch_can_pci_mmap_io() 1 | ||
55 | 52 | ||
56 | #endif /* __KERNEL__ */ | 53 | #endif /* __KERNEL__ */ |
57 | 54 | ||