diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2017-04-12 13:25:55 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-04-18 13:02:11 -0500 |
commit | 11df19546fe4a6135cdae62e96a1e25b3fabf6ea (patch) | |
tree | 12f07a5a618c1fd9dcdddc918b97a00a45192489 /arch/x86/include/asm/pci.h | |
parent | ae749c7ab475de2c9c427058db19921c91846e89 (diff) | |
download | lwn-11df19546fe4a6135cdae62e96a1e25b3fabf6ea.tar.gz lwn-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/x86/include/asm/pci.h')
-rw-r--r-- | arch/x86/include/asm/pci.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h index f6e22c271efa..734cc9411b3a 100644 --- a/arch/x86/include/asm/pci.h +++ b/arch/x86/include/asm/pci.h @@ -104,10 +104,6 @@ int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); #define HAVE_PCI_MMAP #define arch_can_pci_mmap_wc() pat_enabled() -extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, - enum pci_mmap_state mmap_state, - int write_combine); - #ifdef CONFIG_PCI extern void early_quirks(void); |