summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/of/selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/selftest.c b/drivers/of/selftest.c
index f24ffd7088d2..9f62eb58dbc7 100644
--- a/drivers/of/selftest.c
+++ b/drivers/of/selftest.c
@@ -35,7 +35,7 @@ static void __init of_selftest_parse_phandle_with_args(void)
return;
}
- for (i = 0; i < 7; i++) {
+ for (i = 0; i < 8; i++) {
bool passed = true;
rc = of_parse_phandle_with_args(np, "phandle-list",
"#phandle-cells", i, &args);