diff options
Diffstat (limited to 'commands/devinfo.c')
-rw-r--r-- | commands/devinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/devinfo.c b/commands/devinfo.c index e171ecc62c..a0addfbcf1 100644 --- a/commands/devinfo.c +++ b/commands/devinfo.c @@ -102,9 +102,9 @@ static int do_devinfo(int argc, char *argv[]) printf("\n"); } #ifdef CONFIG_OFDEVICE - if (dev->device_node) { - printf("Device node: %s\n", dev->device_node->full_name); - of_print_nodes(dev->device_node, 0, ~0); + if (dev->of_node) { + printf("Device node: %s\n", dev->of_node->full_name); + of_print_nodes(dev->of_node, 0, ~0); } #endif } |