X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=common%2Fautoboot.c;h=c27cc2c75120778f30df72126139804be149bfc1;hb=7b397ecc75ccead5d93c347a82ebde5df15bf510;hp=dc24cae61201c98dabd992a6344d2700e7e02fbf;hpb=affb215626f91e717088a27081d24c473895d47d;p=karo-tx-uboot.git diff --git a/common/autoboot.c b/common/autoboot.c index dc24cae612..c27cc2c751 100644 --- a/common/autoboot.c +++ b/common/autoboot.c @@ -6,6 +6,7 @@ */ #include +#include #include #include #include @@ -40,10 +41,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];