diff options
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/rex/mainboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/rex/mainboard.c b/src/mainboard/google/rex/mainboard.c index d59d3d49e3..619ca71927 100644 --- a/src/mainboard/google/rex/mainboard.c +++ b/src/mainboard/google/rex/mainboard.c @@ -103,7 +103,7 @@ static void mainboard_fill_ssdt(const struct device *dev) { const struct device *wwan = DEV_PTR(rp6_wwan); - if (wwan) { + if (is_dev_enabled(wwan)) { acpigen_write_scope("\\_SB"); acpigen_write_method_serialized("MPTS", 1); mainboard_generate_wwan_shutdown(wwan); |