Pārlūkot izejas kodu

fdt_support: add static to fdt_node_set_part_info()

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>
Masahiro Yamada 3 gadi atpakaļ
vecāks
revīzija
8ce8e42e86
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      common/fdt_support.c

+ 2 - 2
common/fdt_support.c

@@ -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;