diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 196e449fc85302602fa9f3cc560c5a92b2718add..d2430298a309a86d3f2110623d3728b9dedb228f 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -184,7 +184,7 @@ static void * unflatten_dt_node(const void *blob, struct property *pp, **prev_pp = NULL; const char *pathp; unsigned int l, allocl; - static int depth = 0; + static int depth; int old_depth; int offset; int has_name = 0;