From: Masahiro Yamada Date: Wed, 15 Jul 2020 10:35:47 +0000 (+0900) Subject: fdt_support: add static to fdt_node_set_part_info() X-Git-Tag: v2020.10~98^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ce8e42e864da5bc5a031a916f6a6ca49e44b268;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Simon Glass --- diff --git a/common/fdt_support.c b/common/fdt_support.c index 3778de5..b010d0b 100644 --- a/common/fdt_support.c +++ b/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;