boards/stm32wl5/flash: add missing {} to struct init

When CONFIG_ARCH_BOARD_FLASH_CPU2_PROG_SIZE is bigger than 0, compilation
will fail because of missing "{}" in struct initialization.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
This commit is contained in:
Michał Łyszczek
2022-07-28 14:23:41 +02:00
committed by Xiang Xiao
parent d11816cc39
commit 5e75dd9be3
@@ -109,10 +109,12 @@ static const struct part_table part_table[] =
},
#if CONFIG_ARCH_BOARD_FLASH_CPU2_PROG_SIZE > 0
{
.size = CONFIG_ARCH_BOARD_FLASH_CPU2_PROG_SIZE,
.name = "cpu2-progmem",
.mnt = NULL,
.fs = "rawfs"
},
#endif
{