]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(fconf): make struct fconf_populator static
authorYann Gautier <yann.gautier@st.com>
Fri, 18 Nov 2022 13:04:03 +0000 (14:04 +0100)
committerYann Gautier <yann.gautier@st.com>
Fri, 6 Jan 2023 09:39:11 +0000 (10:39 +0100)
commit40e740dc14e807455d8db99dc758af355aa7fa8f
tree0ee51c2965213c6cd166830207dff2af1da0e2da
parentbe737af7c8cfade6a3bb1b232508d6f593c7208e
fix(fconf): make struct fconf_populator static

In FCONF_REGISTER_POPULATOR macro, add static for the fconf_populator
struct. This avoids this kind of sparse warning:
plat/st/common/stm32mp_fconf_io.c:181:1: warning:
 symbol 'stm32mp_io__populator' was not declared. Should it be static?

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: Icaa7da3079e82497e112585150f6348ef2ebf5e6
include/lib/fconf/fconf.h