]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fdt_support: add static to fdt_node_set_part_info()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 15 Jul 2020 10:35:47 +0000 (19:35 +0900)
committerSimon Glass <sjg@chromium.org>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
This function is only called from fdt_fixup_mtdpart() in the same file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/fdt_support.c

index 3778de5368661369e41b8c6b435e86202e31f225..b010d0b552adaa11e64de768e754c4d8f0ca0e1a 100644 (file)
@@ -816,8 +816,8 @@ static int fdt_del_partitions(void *blob, int parent_offset)
        return 0;
 }
 
-int fdt_node_set_part_info(void *blob, int parent_offset,
-                          struct mtd_device *dev)
+static int fdt_node_set_part_info(void *blob, int parent_offset,
+                                 struct mtd_device *dev)
 {
        struct list_head *pentry;
        struct part_info *part;