summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKrzysztof Wilczyński <kwilczynski@kernel.org>2026-05-08 04:35:32 +0000
committerBjorn Helgaas <bhelgaas@google.com>2026-06-23 15:19:08 -0500
commit30d01a8c3a13d217921985324ebdce5b404c1ebb (patch)
tree74bfc42959914e20b25342de95cf9c17c919d69c /include/linux
parent7d9779cb10265f34f405eff1eb50bb955d3f6e7d (diff)
alpha/PCI: Use PCI resource accessor macros
Replace direct pdev->resource[] accesses with pci_resource_n(), and open-coded res->flags type checks with pci_resource_is_mem() and pci_resource_start() helpers. While at it, move the pci_resource_n() call directly into pcibios_resource_to_bus() and drop the local struct resource pointer. No functional changes intended. Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Tested-by: Magnus Lindholm <linmag7@gmail.com> Tested-by: Shivaprasad G Bhat <sbhat@linux.ibm.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Acked-by: Magnus Lindholm <linmag7@gmail.com> Link: https://patch.msgid.link/20260508043543.217179-14-kwilczynski@kernel.org
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions