summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/rex/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/rex/mainboard.c')
-rw-r--r--src/mainboard/google/rex/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/rex/mainboard.c b/src/mainboard/google/rex/mainboard.c
index 3ca85ff77c3f..bf489ff52831 100644
--- a/src/mainboard/google/rex/mainboard.c
+++ b/src/mainboard/google/rex/mainboard.c
@@ -82,7 +82,7 @@ static void mainboard_generate_s0ix_hook(void)
static void mainboard_generate_wwan_shutdown(const struct device *dev)
{
const struct drivers_wwan_fm_config *config = config_of(dev);
- const struct device *parent = dev->bus->dev;
+ const struct device *parent = dev->upstream->dev;
if (!config)
return;