commit | d2abe9314e418f55df7ed7318bcf31131d0143ae | [log] [tgz] |
---|---|---|
author | Elyes HAOUAS <ehaouas@noos.fr> | Wed Jan 23 14:18:34 2019 +0100 |
committer | Patrick Georgi <pgeorgi@google.com> | Fri Jan 25 11:18:45 2019 +0000 |
tree | 195a40d994af82d2092d989fe65bb02e14efded7 | |
parent | b32347415de85199cb0178a2c8c89deae20a1866 [diff] |
mb/{kontron,supermicro}: Use pcidev_on_root() Change-Id: I61b3e5c92830f02d61a108dadde25ff261099e57 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/31051 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
diff --git a/src/mainboard/supermicro/x10slm-f/mainboard.c b/src/mainboard/supermicro/x10slm-f/mainboard.c index 8d0e3b0..4bd5d15 100644 --- a/src/mainboard/supermicro/x10slm-f/mainboard.c +++ b/src/mainboard/supermicro/x10slm-f/mainboard.c
@@ -32,7 +32,7 @@ */ static void hide_ast2400(void) { - struct device *dev = dev_find_slot(0, PCI_DEVFN(0x1c, 0)); + struct device *dev = pcidev_on_root(0x1c, 0); if (!dev) return;