diff options
author | Vladimir Oltean | 2021-09-17 15:11:30 +0300 |
---|---|---|
committer | Tom Rini | 2021-10-03 14:40:56 -0400 |
commit | 903d8ede9adbd5c1956a60b01a3ec099ff3fd8b2 (patch) | |
tree | ce21e48bef57c1f0ce5d722cd610f991e88bbf69 /drivers | |
parent | 0cab66c5c4a9a42b0fe85ba1ca9a3638ec1997d8 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pcie_layerscape_fixup_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie_layerscape_fixup_common.c b/drivers/pci/pcie_layerscape_fixup_common.c index 08dac7632b0..3216a20027a 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; |