[coreboot-gerrit] New patch to review for coreboot: mainboard/jetway/j7f2: transition away from device_t

Antonello Dettori (dev@dettori.io) gerrit at coreboot.org
Tue Nov 8 19:59:54 CET 2016


Antonello Dettori (dev at dettori.io) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17296

-gerrit

commit 4887265d6985977102b88ef353d02be266771022
Author: Antonello Dettori <dev at dettori.io>
Date:   Tue Nov 8 18:44:46 2016 +0100

    mainboard/jetway/j7f2: transition away from device_t
    
    Replace the use of the old device_t definition inside
    mainboard/jetway/j7f2.
    
    Change-Id: I37f59f74ac22fbf6e036cdb0515301e8dec400fb
    Signed-off-by: Antonello Dettori <dev at dettori.io>
---
 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 0de239c..d479072 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);



More information about the coreboot-gerrit mailing list