[coreboot-gerrit] New patch to review for coreboot: e27c166 mainboard/google/samus: Fix usage of GNU field designator ext

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Sun Dec 7 16:29:47 CET 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7690

-gerrit

commit e27c1668436d9107ce4adde37c466471b97c3604
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Mon Dec 8 02:28:39 2014 +1100

    mainboard/google/samus: Fix usage of GNU field designator ext
    
    Following the reasoning in,
     8089f17 mainboard/lenovo/x230 Fix usage of GNU field designator extension
    
    In C99 we defined a syntax for this. GCC's old syntax was deprecated.
    
    Change-Id: Id3b16872f62660393d938d6f95977a4e3842d0d1
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/mainboard/google/samus/romstage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mainboard/google/samus/romstage.c b/src/mainboard/google/samus/romstage.c
index abd93c4..bdf0e70 100644
--- a/src/mainboard/google/samus/romstage.c
+++ b/src/mainboard/google/samus/romstage.c
@@ -146,7 +146,7 @@ void mainboard_romstage_entry(unsigned long bist)
 			{ 0x0040, 1, USB_OC_PIN_SKIP,	/* P7: BT */
 			  USB_PORT_INTERNAL },
 		},
-		usb3_ports: {
+		.usb3_ports = {
 			/* Enable, OCn# */
 			{ 1, 0               }, /* P1: HOST PORT */
 			{ 1, 1               }, /* P2: HOST PORT  */



More information about the coreboot-gerrit mailing list