diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-09-17 15:11:20 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-03 14:40:56 -0400 |
commit | 2649f69f13668b29e4e46ad3249143910048e1e5 (patch) | |
tree | a24ea5e3f51ecfc5dd0ff8744685f3323a02397d /drivers | |
parent | 701c04f331f8389c9def2f61ef2a5d7d3e3e5bfd (diff) | |
download | u-boot-2649f69f13668b29e4e46ad3249143910048e1e5.zip u-boot-2649f69f13668b29e4e46ad3249143910048e1e5.tar.gz u-boot-2649f69f13668b29e4e46ad3249143910048e1e5.tar.bz2 |
pci: provide prototype for pci_skip_dev outside of #if defined(CONFIG_DM_PCI_COMPAT)
The weak definition of pci_skip_dev from drivers/pci/pci_common.c is not
under CONFIG_DM_PCI_COMPAT, and that definition needs a previous
function prototype declaration to avoid W=1 build warnings.
That prototype is not available due to it being under CONFIG_DM_PCI_COMPAT,
so move it outside of that preprocessor block.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions