summaryrefslogtreecommitdiff
path: root/src/drivers/generic/debug/debug_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/generic/debug/debug_dev.c')
-rw-r--r--src/drivers/generic/debug/debug_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/generic/debug/debug_dev.c b/src/drivers/generic/debug/debug_dev.c
index 49d442af1f..7f17c9598c 100644
--- a/src/drivers/generic/debug/debug_dev.c
+++ b/src/drivers/generic/debug/debug_dev.c
@@ -234,7 +234,7 @@ static void debug_init(device_t dev)
#endif
if (!dev->enabled)
return;
- switch(dev->path.u.pnp.device) {
+ switch(dev->path.pnp.device) {
#if CONFIG_CHIP_NAME
case 0:
parent = dev->bus->dev;