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

Antonello Dettori (dev@dettori.io) gerrit at coreboot.org
Sat Sep 3 11:42:35 CEST 2016


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

-gerrit

commit 47f5a03d2d8236b5083ae646ef24aeb8b4953e27
Author: Antonello Dettori <dev at dettori.io>
Date:   Sat Sep 3 10:45:33 2016 +0200

    mainboard/bcom/winnetp680: transition away from device_t
    
    Replace the use of the old device_t definition inside
    mainboard/bcom/winnetp680.
    
    Change-Id: I6f57a669f83bed190e90e1b7be01f8c886546e2e
    Signed-off-by: Antonello Dettori <dev at dettori.io>
---
 src/mainboard/bcom/winnetp680/romstage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mainboard/bcom/winnetp680/romstage.c b/src/mainboard/bcom/winnetp680/romstage.c
index f2144ff..0a3ba72 100644
--- a/src/mainboard/bcom/winnetp680/romstage.c
+++ b/src/mainboard/bcom/winnetp680/romstage.c
@@ -42,7 +42,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);
 	if (dev == PCI_DEV_INVALID)



More information about the coreboot-gerrit mailing list