
18 Sep
2021
18 Sep
'21
8:54 a.m.
On Fri, Sep 17, 2021 at 8:11 PM Vladimir Oltean vladimir.oltean@nxp.com wrote:
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
include/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com