]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: Use header type defines in pci_setup_device()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 10 Jun 2025 10:58:18 +0000 (13:58 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 11 Aug 2025 20:00:51 +0000 (15:00 -0500)
commit24b2d3c452e5f3facaf9c664aaaa9fc7fa4bc6bb
tree9506221abf68239852c0c5db5fdc5aa07cd50de9
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
PCI: Use header type defines in pci_setup_device()

Replace literals with PCI_HEADER_TYPE_* defines in pci_setup_device().

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://patch.msgid.link/20250610105820.7126-1-ilpo.jarvinen@linux.intel.com
drivers/pci/probe.c