spl: Make the spl_nand_load_image static
authorMichael Trimarchi <michael@amarulasolutions.com>
Wed, 4 Jul 2018 13:53:37 +0000 (15:53 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jul 2018 19:37:41 +0000 (15:37 -0400)
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
common/spl/spl_nand.c

index 9a525006140a5d3199fb0e81470b4dcf44796546..2722fd3860e55a149ffa1c1aee123db0244a4389 100644 (file)
@@ -12,7 +12,7 @@
 #include <fdt.h>
 
 #if defined(CONFIG_SPL_NAND_RAW_ONLY)
-int spl_nand_load_image(struct spl_image_info *spl_image,
+static int spl_nand_load_image(struct spl_image_info *spl_image,
                        struct spl_boot_device *bootdev)
 {
        nand_init();