diff options
Diffstat (limited to 'src/mainboard/google/stout')
-rw-r--r-- | src/mainboard/google/stout/chromeos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/stout/chromeos.c b/src/mainboard/google/stout/chromeos.c index 6d77a2aead..5301d30b67 100644 --- a/src/mainboard/google/stout/chromeos.c +++ b/src/mainboard/google/stout/chromeos.c @@ -101,7 +101,7 @@ int get_recovery_mode_switch(void) #else static int ec_in_rec_mode = 0; static int ec_rec_flag_good = 0; - struct device *dev = dev_find_slot(0, PCI_DEVFN(0x1f, 0)); + struct device *dev = pcidev_on_root(0x1f, 0); #endif u8 ec_status = ec_read(EC_STATUS_REG); |