mainboard/via/vt8454c: transition away from device_t

Replace the use of the old device_t definition inside
mainboard/via/vt8454c.

Change-Id: I94e22e1d814733c4049e78e5b3c23b9bb429f6fa
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/17312
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Antonello Dettori 2016-11-08 18:44:46 +01:00 committed by Martin Roth
parent d4d265e9fe
commit 50f1b1aab5
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
static void enable_mainboard_devices(void) static void enable_mainboard_devices(void)
{ {
device_t dev; pci_devfn_t dev;
dev = pci_locate_device(PCI_ID(0x1106, 0x8324), 0); dev = pci_locate_device(PCI_ID(0x1106, 0x8324), 0);
if (dev == PCI_DEV_INVALID) { if (dev == PCI_DEV_INVALID) {