PCI: Use bridge window names (PCI_BRIDGE_IO_WINDOW etc)
authorKrzysztof Wilczynski <kw@linux.com>
Wed, 20 May 2020 18:34:10 +0000 (18:34 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 21 May 2020 20:53:07 +0000 (15:53 -0500)
commit6e0688dbff625f1e49e3ddb028720ae9fd606f0b
treeef22d17869773d018a7cadf00d21a1fbab3d8fd8
parent7b38fd9760f51cc83d80eed2cfbde8b5ead9e93a
PCI: Use bridge window names (PCI_BRIDGE_IO_WINDOW etc)

Use bridge resource definitions instead of using the PCI_BRIDGE_RESOURCES
constant with an integer offeset.

Link: https://lore.kernel.org/r/20200520183411.1534621-2-kw@linux.com
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-bus.c
drivers/pcmcia/yenta_socket.c
include/linux/pci.h