summaryrefslogtreecommitdiff
path: root/src/drivers/net/r8168.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net/r8168.c')
-rw-r--r--src/drivers/net/r8168.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/r8168.c b/src/drivers/net/r8168.c
index 70a0f63d47..6d93ed2dd7 100644
--- a/src/drivers/net/r8168.c
+++ b/src/drivers/net/r8168.c
@@ -364,7 +364,7 @@ static void r8168_init(struct device *dev)
static void r8168_net_fill_ssdt(const struct device *dev)
{
struct drivers_net_config *config = dev->chip_info;
- const char *path = acpi_device_path(dev->bus->dev);
+ const char *path = acpi_device_path(dev->upstream->dev);
u32 address;
if (!path || !config)