summaryrefslogtreecommitdiffstats
path: root/cpukit/libdrvmgr/drvmgr_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libdrvmgr/drvmgr_print.c')
-rw-r--r--cpukit/libdrvmgr/drvmgr_print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libdrvmgr/drvmgr_print.c b/cpukit/libdrvmgr/drvmgr_print.c
index 206b9fe2bc..9330867fe4 100644
--- a/cpukit/libdrvmgr/drvmgr_print.c
+++ b/cpukit/libdrvmgr/drvmgr_print.c
@@ -261,10 +261,10 @@ void drvmgr_info_dev(struct drvmgr_dev *dev, unsigned int options)
printf(" --- DEVICE INFO FROM BUS DRIVER ---\n");
if (!dev->parent)
printf(" !! device has no parent bus !!\n");
- else if (dev->parent->ops->info_dev)
- dev->parent->ops->info_dev(dev, print_info, NULL);
+ else if (dev->parent->ops->get_info_dev)
+ dev->parent->ops->get_info_dev(dev, print_info, NULL);
else
- printf(" Bus doesn't implement info_dev func\n");
+ printf(" Bus doesn't implement get_info_dev func\n");
}
if (options & OPTION_DEV_DRVINFO) {