PCI: Make quirk using inw() depend on HAS_IOPORT
authorNiklas Schnelle <schnelle@linux.ibm.com>
Mon, 3 Jul 2023 13:52:54 +0000 (15:52 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 18 Jul 2023 21:56:54 +0000 (16:56 -0500)
commitf768c75d61582b011962f9dcb9ff8eafb8da0383
tree136b0afece89e121d6d0e5407cc8fe2a4a43b02e
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
PCI: Make quirk using inw() depend on HAS_IOPORT

In the future inw() and friends will not be compiled on architectures
without I/O port support.

Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Link: https://lore.kernel.org/r/20230703135255.2202721-2-schnelle@linux.ibm.com
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c