summaryrefslogtreecommitdiff
path: root/src/drivers/generic
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/generic')
-rw-r--r--src/drivers/generic/debug/debug_dev.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/drivers/generic/debug/debug_dev.c b/src/drivers/generic/debug/debug_dev.c
index 57f807748e..b523ca7058 100644
--- a/src/drivers/generic/debug/debug_dev.c
+++ b/src/drivers/generic/debug/debug_dev.c
@@ -237,12 +237,7 @@ static void debug_init(device_t dev)
switch(dev->path.pnp.device) {
case 0:
parent = dev->bus->dev;
- printk(BIOS_DEBUG, "DEBUG: %s", dev_path(parent));
- if(parent->chip_ops && parent->chip_ops->name) {
- printk(BIOS_DEBUG, ": %s\n", parent->chip_ops->name);
- } else {
- printk(BIOS_DEBUG, "\n");
- }
+ printk(BIOS_DEBUG, "DEBUG: %s : %s\n", dev_path(parent), dev_name(parent));
break;
case 1: