mirror of
https://xff.cz/git/u-boot/
synced 2026-01-26 20:35:22 +01:00
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 <vladimir.oltean@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
committed by
Tom Rini
parent
0cab66c5c4
commit
903d8ede9a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user