diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-04-25 20:59:50 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-04-25 20:59:50 (GMT) |
commit | c20e128030caf0537d5e906753eac1c28fefdb75 (patch) | |
tree | dcc068d254a6040254555e0747d863fc68f035bc /drivers/pci/pcie/portdrv_acpi.c | |
parent | ca620723d4ff9ea7ed484eab46264c3af871b9ae (diff) | |
download | linux-c20e128030caf0537d5e906753eac1c28fefdb75.tar.xz |
alpha/PCI: Call iomem_is_exclusive() for IORESOURCE_MEM, but not IORESOURCE_IO
The alpha pci_mmap_resource() is used for both IORESOURCE_MEM and
IORESOURCE_IO resources, but iomem_is_exclusive() is only applicable for
IORESOURCE_MEM.
Call iomem_is_exclusive() only for IORESOURCE_MEM resources, and do it
earlier to match the generic version of pci_mmap_resource().
Fixes: 10a0ef39fbd1 ("PCI/alpha: pci sysfs resources")
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Diffstat (limited to 'drivers/pci/pcie/portdrv_acpi.c')
0 files changed, 0 insertions, 0 deletions