cosmetic: autoboot: update old style GNU struct init

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
master
Jeroen Hofstee 11 years ago committed by Tom Rini
parent 9fb70f31fe
commit 9e546ee9c9
  1. 8
      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];

Loading…
Cancel
Save