diff options
author | Michal Simek <michal.simek@xilinx.com> | 2018-07-31 14:31:04 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-08-07 11:03:43 +0200 |
commit | cd1457d74ea42ded9817e9356fa5a79d3ba91d5a (patch) | |
tree | efd233c97e9727df2d193de4ff90042046167789 /common/fdt_support.c | |
parent | 642a86041228974c154dc7e250f3d1e0b8adf33f (diff) | |
download | u-boot-cd1457d74ea42ded9817e9356fa5a79d3ba91d5a.tar.gz u-boot-cd1457d74ea42ded9817e9356fa5a79d3ba91d5a.tar.bz2 u-boot-cd1457d74ea42ded9817e9356fa5a79d3ba91d5a.zip |
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 <michal.simek@xilinx.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 1bdd03fdda..34d2bd59c4 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; |