mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-27 07:15:20 +00:00
fix(st): make metadata_block_spec static
This issue was triggered by sparse tool: plat/st/common/stm32mp_fconf_io.c:31:17: warning: symbol 'metadata_block_spec' was not declared. Should it be static? Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I283d15792ed0e7ac5181e18aaf54010a0e61b370
This commit is contained in:
parent
abd6d7ea60
commit
d1d8a9bad0
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ static io_block_spec_t gpt_block_spec = {
|
|||
#endif
|
||||
|
||||
#if (STM32MP_SDMMC || STM32MP_EMMC) && PSA_FWU_SUPPORT
|
||||
io_block_spec_t metadata_block_spec = {
|
||||
static io_block_spec_t metadata_block_spec = {
|
||||
.offset = 0, /* To be filled at runtime */
|
||||
.length = 0, /* To be filled at runtime */
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue