[coreboot-gerrit] New patch to review for coreboot: mainboard/via/epia-cn: transition away from device_t

Antonello Dettori (dev@dettori.io) gerrit at coreboot.org
Tue Nov 8 20:00:29 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/17310

-gerrit

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

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

diff --git a/src/mainboard/via/epia-cn/romstage.c b/src/mainboard/via/epia-cn/romstage.c
index 39dd3fc..3ecb97b 100644
--- a/src/mainboard/via/epia-cn/romstage.c
+++ b/src/mainboard/via/epia-cn/romstage.c
@@ -39,7 +39,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