On Thu, Jan 21, 2021 at 10:07 AM Simon Glass <s...@chromium.org> wrote:
>
> At present the struct is not available unless SYSINFO is enabled. This is
> annoying since code it is not possible to use compile-time checks like
> CONFIG_IS_ENABLED(SYSINFO) with this header.
>
> Fix it by moving the #ifdef.
>
> Signed-off-by: Simon Glass <s...@chromium.org>
> ---
>
> Changes in v2:
> - Add new patch to fix sysinfo with CONFIG_IS_ENABLED()
>
>  include/sysinfo.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>

Reply via email to