From 2999ec860738453f8903124ab26edaeaafcf2e69 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 16 Oct 2025 09:07:29 -0500 Subject: [PATCH] beatnik: Address missing field initializer warnings This was in a structure describing Flash memory configuration. The initialization was changed to using named fields. Updates #5325. --- bsps/powerpc/beatnik/flash/flashcfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsps/powerpc/beatnik/flash/flashcfg.c b/bsps/powerpc/beatnik/flash/flashcfg.c index 2e417c8ff2..f065024cfd 100644 --- a/bsps/powerpc/beatnik/flash/flashcfg.c +++ b/bsps/powerpc/beatnik/flash/flashcfg.c @@ -74,14 +74,14 @@ read_us_timer(void); /* motload memory map */ static struct bankdesc mvme5500Flash[] = { - { 0, 2 }, /* first entry gives number of entries */ + { 0, 2, 0, 0, NULL, 0, 0, 0 }, /* first entry gives number of entries */ { 0xf2000000, 0x08000000, 0x20000*2, 2, BSP_flash_vendor_intel, 0, 0, 0, }, { 0xff800000, 0x00800000, 0x20000*2, 2, BSP_flash_vendor_intel, 0, 0, 0, }, }; /* motload memory map */ static struct bankdesc mvme6100Flash[] = { - { 0, 2 }, /* first entry gives number of entries */ + { 0, 2, 0, 0, NULL, 0, 0, 0 }, /* first entry gives number of entries */ { 0xf4000000, 0x04000000, 0x20000*2, 2, BSP_flash_vendor_intel, 0, 0, 0, }, { 0xf8000000, 0x04000000, 0x20000*2, 2, BSP_flash_vendor_intel, 0, 0, 0, }, };