bootm: vxworks: Make do_bootvx_fdt() static
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Dec 2018 15:13:39 +0000 (07:13 -0800)
committerTom Rini <trini@konsulko.com>
Mon, 31 Dec 2018 13:08:51 +0000 (08:08 -0500)
Change the scope of do_bootvx_fdt() to static since it is only
used in common/bootm_os.c.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
common/bootm_os.c
include/vxworks.h

index f3021358686a00c36f0cf5356c87be33677a4aa6..da938c56b975782a8767674566ec11ca6acc2839 100644 (file)
@@ -260,7 +260,7 @@ static int do_bootm_plan9(int flag, int argc, char * const argv[],
 #if defined(CONFIG_BOOTM_VXWORKS) && \
        (defined(CONFIG_PPC) || defined(CONFIG_ARM))
 
-void do_bootvx_fdt(bootm_headers_t *images)
+static void do_bootvx_fdt(bootm_headers_t *images)
 {
 #if defined(CONFIG_OF_LIBFDT)
        int ret;
index 60c0efaf6e45c91fb8016cf36b25c1189a37ddf1..1a29509460b63df62b8b536bf4d3c62f7b6f123a 100644 (file)
@@ -83,6 +83,5 @@ struct efi_gop_info {
 int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
 void boot_prep_vxworks(bootm_headers_t *images);
 void boot_jump_vxworks(bootm_headers_t *images);
-void do_bootvx_fdt(bootm_headers_t *images);
 
 #endif