summaryrefslogtreecommitdiff
path: root/drivers/pci/endpoint
diff options
context:
space:
mode:
authorRick Wertenbroek <rick.wertenbroek@gmail.com>2024-12-12 17:25:47 +0100
committerBjorn Helgaas <bhelgaas@google.com>2024-12-12 12:59:11 -0600
commit76850b54943ffd5037c97cc27794449ce05c31e9 (patch)
tree89856464674fdecb1ea37bb57806624038e737ad /drivers/pci/endpoint
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
PCI: endpoint: Replace magic number '6' by PCI_STD_NUM_BARS
Replace the constant "6" by PCI_STD_NUM_BARS, as defined in include/uapi/linux/pci_regs.h: #define PCI_STD_NUM_BARS 6 /* Number of standard BARs */ Link: https://lore.kernel.org/r/20241212162547.225880-1-rick.wertenbroek@gmail.com Signed-off-by: Rick Wertenbroek <rick.wertenbroek@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/endpoint')
0 files changed, 0 insertions, 0 deletions