diff options
author | Masahiro Yamada | 2020-07-15 19:35:47 +0900 |
---|---|---|
committer | Simon Glass | 2020-07-20 11:37:47 -0600 |
commit | d772db3f9ad9bbd89830fbae86d525ff8a951fd7 (patch) | |
tree | 60ff8e31494d12e43707dec8382c3fdb6e66e750 /common/fdt_support.c | |
parent | 28e0367fc879a408b964c070b55e4255e6d1eac5 (diff) |
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>
Diffstat (limited to 'common/fdt_support.c')
-rw-r--r-- | common/fdt_support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c index 3778de53686..b010d0b552a 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; |