mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 15:10:26 +09:00
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>
This commit is contained in:
parent
642a860412
commit
cd1457d74e
@ -725,7 +725,7 @@ struct reg_cell {
|
|||||||
unsigned int r1;
|
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 off, ndepth;
|
||||||
int ret;
|
int ret;
|
||||||
@ -750,7 +750,7 @@ int fdt_del_subnodes(const void *blob, int parent_offset)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int fdt_del_partitions(void *blob, int parent_offset)
|
static int fdt_del_partitions(void *blob, int parent_offset)
|
||||||
{
|
{
|
||||||
const void *prop;
|
const void *prop;
|
||||||
int ndepth = 0;
|
int ndepth = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user