PCI: Add BAR index argument to pci_mmap_page_range()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 12 Apr 2017 12:25:58 +0000 (13:25 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 20 Apr 2017 13:47:47 +0000 (08:47 -0500)
commitf66e225828c1b046c7db1db65b0dd2d135f6a2da
tree69056a22a4d9afcacdc99779741f65f78f0d6cc0
parentdca40b186b757c7f9a05f870f69e0dfaeca59d7b
PCI: Add BAR index argument to pci_mmap_page_range()

In all cases we know which BAR it is.  Passing it in means that arch code
(or generic code; watch this space) won't have to go looking for it again.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
16 files changed:
arch/arm/kernel/bios32.c
arch/cris/arch-v32/drivers/pci/bios.c
arch/ia64/pci/pci.c
arch/microblaze/pci/pci-common.c
arch/mips/pci/pci.c
arch/mn10300/unit-asb2305/pci-asb2305.c
arch/parisc/kernel/pci.c
arch/powerpc/kernel/pci-common.c
arch/sh/drivers/pci/pci.c
arch/sparc/kernel/pci.c
arch/unicore32/kernel/pci.c
arch/x86/pci/i386.c
arch/xtensa/kernel/pci.c
drivers/pci/pci-sysfs.c
drivers/pci/proc.c
include/linux/pci.h