summaryrefslogtreecommitdiff
path: root/arch/parisc/include/asm/pci.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2017-04-12 15:26:04 +0300
committerBjorn Helgaas <bhelgaas@google.com>2017-04-20 16:47:47 +0300
commit6a94ca14c389b00515b026cd35bcd074dec6f7ff (patch)
tree2f9973c89c78bdb96494dd3eb724ca50db3a83ea /arch/parisc/include/asm/pci.h
parent903bdbe271217f656d13767d8a3e74b8aabc54c2 (diff)
downloadlinux-6a94ca14c389b00515b026cd35bcd074dec6f7ff.tar.xz
parisc: Use generic pci_mmap_resource_range()
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/parisc/include/asm/pci.h')
-rw-r--r--arch/parisc/include/asm/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/pci.h b/arch/parisc/include/asm/pci.h
index bb9ea9003e08..1de1a3f412ec 100644
--- a/arch/parisc/include/asm/pci.h
+++ b/arch/parisc/include/asm/pci.h
@@ -200,5 +200,6 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
}
#define HAVE_PCI_MMAP
+#define ARCH_GENERIC_PCI_MMAP_RESOURCE
#endif /* __ASM_PARISC_PCI_H */