summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-06-16 00:17:33 +0200
committerTom Rini <trini@ti.com>2014-06-19 11:19:07 -0400
commit9e546ee9c90fc0a888423fa3269020fe736df7a3 (patch)
tree591919d9951def680c2ba0035fd1ba206f205c4e /common
parent9fb70f31fea14c7c1b5575cc71d562587d837ca8 (diff)
cosmetic: autoboot: update old style GNU struct init
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common')
-rw-r--r--common/autoboot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/autoboot.c b/common/autoboot.c
index dc24cae6120..30102a47a8a 100644
--- a/common/autoboot.c
+++ b/common/autoboot.c
@@ -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];