Commit d41abe0
committed
PCI: Update pci_find_capability() stub return types
f646c2a ("PCI: Return u8 from pci_find_capability() and similar") and
ee8b1c4 ("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>1 parent 0e1fdd2 commit d41abe0
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2011 | 2011 | | |
2012 | 2012 | | |
2013 | 2013 | | |
2014 | | - | |
2015 | | - | |
| 2014 | + | |
2016 | 2015 | | |
2017 | | - | |
| 2016 | + | |
2018 | 2017 | | |
2019 | 2018 | | |
2020 | 2019 | | |
| |||
0 commit comments