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-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d772db3f9ad9bbd89830fbae86d525ff8a951fd7;p=u-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 3778de5368..b010d0b552 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;