[coreboot-gerrit] Patch set updated for coreboot: southbridge/intel/i82801gx: transition away from device_t

Antonello Dettori (dev@dettori.io) gerrit at coreboot.org
Wed Aug 31 10:53:01 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/16370

-gerrit

commit 01c8bfac9d944b40605d5a698269424df127b1f4
Author: Antonello Dettori <dev at dettori.io>
Date:   Tue Aug 30 22:05:32 2016 +0200

    southbridge/intel/i82801gx: transition away from device_t
    
    Replace the use of the old device_t definition inside
    southbridge/intel/i82801gx.
    
    The patch has been tested both with the arch/io.h definition of device_t
    enabled and disabled in order to ensure compatibility while the
    transaction takes place.
    
    Change-Id: Ia257318a7068b54739f319bfbba35f2a07826940
    Signed-off-by: Antonello Dettori <dev at dettori.io>
---
 src/southbridge/intel/i82801gx/early_smbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/southbridge/intel/i82801gx/early_smbus.c b/src/southbridge/intel/i82801gx/early_smbus.c
index 2f9cdeb..47fe5f6 100644
--- a/src/southbridge/intel/i82801gx/early_smbus.c
+++ b/src/southbridge/intel/i82801gx/early_smbus.c
@@ -23,7 +23,7 @@
 
 void enable_smbus(void)
 {
-	device_t dev;
+	pci_devfn_t dev;
 
 	/* Set the SMBus device statically. */
 	dev = PCI_DEV(0x0, 0x1f, 0x3);



More information about the coreboot-gerrit mailing list