cosmetic: autoboot: update old style GNU struct init
authorJeroen Hofstee <jeroen@myspectrum.nl>
Sun, 15 Jun 2014 22:17:33 +0000 (00:17 +0200)
committerTom Rini <trini@ti.com>
Thu, 19 Jun 2014 15:19:07 +0000 (11:19 -0400)
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
common/autoboot.c

index dc24cae61201c98dabd992a6344d2700e7e02fbf..30102a47a8aefecf85ccd38984e054541bbe669a 100644 (file)
@@ -40,10 +40,10 @@ static int abortboot_keyed(int bootdelay)
                int retry;
        }
        delaykey[] = {
-               { str: getenv("bootdelaykey"),  retry: 1 },
-               { str: getenv("bootdelaykey2"), retry: 1 },
-               { str: getenv("bootstopkey"),   retry: 0 },
-               { str: getenv("bootstopkey2"),  retry: 0 },
+               { .str = getenv("bootdelaykey"),  .retry = 1 },
+               { .str = getenv("bootdelaykey2"), .retry = 1 },
+               { .str = getenv("bootstopkey"),   .retry = 0 },
+               { .str = getenv("bootstopkey2"),  .retry = 0 },
        };
 
        char presskey[MAX_DELAY_STOP_STR];