[coreboot-gerrit] New patch to review for coreboot: northbridge/intel/i855: transition away from device_t

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

-gerrit

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

    northbridge/intel/i855: transition away from device_t
    
    Replace the use of the old device_t definition inside
    northbridge/intel/i855.
    
    Change-Id: Iae66d1ef838095a560868d9c9ff81f4208f814f1
    Signed-off-by: Antonello Dettori <dev at dettori.io>
---
 src/northbridge/intel/i855/debug.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/northbridge/intel/i855/debug.c b/src/northbridge/intel/i855/debug.c
index 2a9e407..bdf2523 100644
--- a/src/northbridge/intel/i855/debug.c
+++ b/src/northbridge/intel/i855/debug.c
@@ -24,7 +24,7 @@ static void print_debug_pci_dev(unsigned dev)
 
 static inline void print_pci_devices(void)
 {
-	device_t dev;
+	pci_devfn_t dev;
 	for (dev = PCI_DEV(0, 0, 0);
 		dev <= PCI_DEV(0, 0x1f, 0x7);
 		dev += PCI_DEV(0,0,1)) {
@@ -59,7 +59,7 @@ static void dump_pci_device(unsigned dev)
 
 static inline void dump_pci_devices(void)
 {
-	device_t dev;
+	pci_devfn_t dev;
 	for (dev = PCI_DEV(0, 0, 0);
 		dev <= PCI_DEV(0, 0x1f, 0x7);
 		dev += PCI_DEV(0,0,1)) {



More information about the coreboot-gerrit mailing list