diff options
author | Antonello Dettori <dev@dettori.io> | 2016-09-03 10:47:40 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-13 17:16:24 +0200 |
commit | 837618bf20b93ffa4fb23db1dde510b221ce90df (patch) | |
tree | 00e81eb87a4bb635f70f8b9e62421bf6bcca26a6 /src/mainboard/asus/m2v | |
parent | e889b19ba08830882da18614494b811c3698520e (diff) | |
download | coreboot-837618bf20b93ffa4fb23db1dde510b221ce90df.tar.xz |
mainboard/asus/*: transition away from device_t
Replace the use of the old device_t definition inside
mainboard/asus/*.
Change-Id: I5ddfba2102854adcc9bbfd75f7acbe76f0152b72
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16438
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/asus/m2v')
-rw-r--r-- | src/mainboard/asus/m2v/romstage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/asus/m2v/romstage.c b/src/mainboard/asus/m2v/romstage.c index bceecf8884..9eacecf314 100644 --- a/src/mainboard/asus/m2v/romstage.c +++ b/src/mainboard/asus/m2v/romstage.c @@ -85,7 +85,7 @@ void soft_reset(void) unsigned int get_sbdn(unsigned bus) { - device_t dev; + pci_devfn_t dev; dev = pci_locate_device_on_bus(PCI_ID(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VT8237R_LPC), bus); @@ -183,7 +183,7 @@ static void m2v_it8712f_gpio_init(void) static void m2v_bus_init(void) { - device_t dev; + pci_devfn_t dev; printk(BIOS_SPEW, "m2v_bus_init\n"); |