summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-11-08 18:44:46 +0100
committerMartin Roth <martinroth@google.com>2016-11-15 18:19:12 +0100
commit50f1b1aab5e25655f008a90b56069451130c18e9 (patch)
treed2f7cafe866c8659e6bfac70207a271e423c22fd /src/mainboard
parentd4d265e9fe1ea9ef64482b29834f740c0e90a7ee (diff)
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/via/vt8454c/romstage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/via/vt8454c/romstage.c b/src/mainboard/via/vt8454c/romstage.c
index d2af46c5c8..114494bdb5 100644
--- a/src/mainboard/via/vt8454c/romstage.c
+++ b/src/mainboard/via/vt8454c/romstage.c
@@ -33,7 +33,7 @@
static void enable_mainboard_devices(void)
{
- device_t dev;
+ pci_devfn_t dev;
dev = pci_locate_device(PCI_ID(0x1106, 0x8324), 0);
if (dev == PCI_DEV_INVALID) {