PCI: Update pci_find_capability() stub return types
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 27 Mar 2024 18:02:34 +0000 (13:02 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 16 May 2024 19:35:08 +0000 (14:35 -0500)
commitd41abe063f9d206ded67dda9d205de7a669edd6f
treebcf05599d779dcecd6f70728611664e048e29a19
parent0e1fdd222f0ac47b2b806fecfe05c1a6f797930f
PCI: Update pci_find_capability() stub return types

f646c2a0a668 ("PCI: Return u8 from pci_find_capability() and similar") and
ee8b1c478a9f ("PCI: Return u16 from pci_find_ext_capability() and similar")
updated the return type of the extern declarations, but neglected to update
the type of the stubs used when CONFIG_PCI is not enabled.

Update them to match the extern declarations.

Link: https://lore.kernel.org/r/20240327180234.1529164-1-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
include/linux/pci.h