summaryrefslogtreecommitdiffstats
path: root/commands/oftree.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/oftree.c')
-rw-r--r--commands/oftree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/oftree.c b/commands/oftree.c
index 612d01afa5..e4f52b851c 100644
--- a/commands/oftree.c
+++ b/commands/oftree.c
@@ -64,7 +64,7 @@ static int do_oftree(int argc, char *argv[])
dump = 1;
break;
case 'p':
- if (IS_ENABLED(CONFIG_CMD_OFTREE_PROBE)) {
+ if (IS_ENABLED(CONFIG_OFDEVICE)) {
probe = 1;
} else {
printf("oftree device probe support disabled\n");