diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-30 19:24:29 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-04-04 10:43:20 -0500 |
commit | 144d204df78e40e6250201e71ef7d0e42d2a13fc (patch) | |
tree | bdc2270eb7885df618cde8784121e1f85b299087 /arch/sparc/kernel/prom.h | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) | |
download | linux-144d204df78e40e6250201e71ef7d0e42d2a13fc.tar.gz linux-144d204df78e40e6250201e71ef7d0e42d2a13fc.tar.bz2 linux-144d204df78e40e6250201e71ef7d0e42d2a13fc.zip |
PCI: Introduce pci_resource_n()
Introduce pci_resource_n() and replace open-coded implementations of it
in pci.h.
Link: https://lore.kernel.org/r/20230330162434.35055-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'arch/sparc/kernel/prom.h')
0 files changed, 0 insertions, 0 deletions