From d9e89b17827e90b57a30302505534b4b556b18e7 Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Tue, 8 Nov 2016 18:44:46 +0100 Subject: [PATCH] UPSTREAM: mainboard/jetway/j7f2: transition away from device_t Replace the use of the old device_t definition inside mainboard/jetway/j7f2. BUG=None BRANCH=None TEST=None Signed-off-by: Antonello Dettori Reviewed-on: https://review.coreboot.org/17296 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Change-Id: I37f59f74ac22fbf6e036cdb0515301e8dec400fb Reviewed-on: https://chromium-review.googlesource.com/410088 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- src/mainboard/jetway/j7f2/romstage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/jetway/j7f2/romstage.c b/src/mainboard/jetway/j7f2/romstage.c index 0de239c6fa..d479072223 100644 --- a/src/mainboard/jetway/j7f2/romstage.c +++ b/src/mainboard/jetway/j7f2/romstage.c @@ -46,7 +46,7 @@ static inline int spd_read_byte(unsigned device, unsigned address) static void enable_mainboard_devices(void) { - device_t dev; + pci_devfn_t dev; dev = pci_locate_device(PCI_ID(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VT8237R_LPC), 0);