UPSTREAM: mainboard/via/vt8454c: transition away from device_t

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

BUG=None
BRANCH=None
TEST=None

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>

Change-Id: I94e22e1d814733c4049e78e5b3c23b9bb429f6fa
Reviewed-on: https://chromium-review.googlesource.com/411299
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Antonello Dettori 2016-11-08 18:44:46 +01:00 committed by chrome-bot
parent ed8a39a659
commit 9d071d6001

View file

@ -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) {