From: Michal Simek Date: Tue, 31 Jul 2018 12:31:04 +0000 (+0200) Subject: common: fdt: Make fdt_del_subnodes/fdt_del_partition static X-Git-Tag: v2018.09-rc2~65^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd1457d74ea42ded9817e9356fa5a79d3ba91d5a;p=platform%2Fkernel%2Fu-boot.git common: fdt: Make fdt_del_subnodes/fdt_del_partition static These functions are only called in this file that's why make them static to keep static analysers happy. Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- diff --git a/common/fdt_support.c b/common/fdt_support.c index 1bdd03f..34d2bd5 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -725,7 +725,7 @@ struct reg_cell { unsigned int r1; }; -int fdt_del_subnodes(const void *blob, int parent_offset) +static int fdt_del_subnodes(const void *blob, int parent_offset) { int off, ndepth; int ret; @@ -750,7 +750,7 @@ int fdt_del_subnodes(const void *blob, int parent_offset) return 0; } -int fdt_del_partitions(void *blob, int parent_offset) +static int fdt_del_partitions(void *blob, int parent_offset) { const void *prop; int ndepth = 0;