diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2017-04-12 14:25:55 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-04-18 20:02:11 +0200 |
commit | 11df19546fe4a6135cdae62e96a1e25b3fabf6ea (patch) | |
tree | 12f07a5a618c1fd9dcdddc918b97a00a45192489 /arch/arm/include | |
parent | PCI: Add arch_can_pci_mmap_wc() macro (diff) | |
download | linux-11df19546fe4a6135cdae62e96a1e25b3fabf6ea.tar.xz linux-11df19546fe4a6135cdae62e96a1e25b3fabf6ea.zip |
PCI: Move multiple declarations of pci_mmap_page_range() to <linux/pci.h>
We can declare it <linux/pci.h> even on platforms where it isn't going to
be defined. There's no need to have it littered through the various
<asm/pci.h> files.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/pci.h b/arch/arm/include/asm/pci.h index 057d381f4e57..51118a0cabbc 100644 --- a/arch/arm/include/asm/pci.h +++ b/arch/arm/include/asm/pci.h @@ -29,8 +29,6 @@ static inline int pci_proc_domain(struct pci_bus *bus) #define PCI_DMA_BUS_IS_PHYS (1) #define HAVE_PCI_MMAP -extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, - enum pci_mmap_state mmap_state, int write_combine); static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) { |