From: Vladimir Oltean Date: Fri, 17 Sep 2021 12:11:30 +0000 (+0300) Subject: pci: pcie_layerscape_fixup_common: lx2_board_fix_fdt can be static X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=903d8ede9adbd5c1956a60b01a3ec099ff3fd8b2;p=u-boot.git pci: pcie_layerscape_fixup_common: lx2_board_fix_fdt can be static To avoid W=1 build warnings, declare this function as static, since it is not used outside of this translation module. Signed-off-by: Vladimir Oltean Reviewed-by: Bin Meng --- diff --git a/drivers/pci/pcie_layerscape_fixup_common.c b/drivers/pci/pcie_layerscape_fixup_common.c index 08dac7632b..3216a20027 100644 --- a/drivers/pci/pcie_layerscape_fixup_common.c +++ b/drivers/pci/pcie_layerscape_fixup_common.c @@ -30,7 +30,7 @@ void ft_pci_setup(void *blob, struct bd_info *bd) } #if defined(CONFIG_FSL_LAYERSCAPE) -int lx2_board_fix_fdt(void *fdt) +static int lx2_board_fix_fdt(void *fdt) { char *reg_name, *old_str, *new_str; const char *reg_names;