
21 Jan
2021
21 Jan
'21
7:54 a.m.
On Thu, Jan 21, 2021 at 10:07 AM Simon Glass sjg@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 sjg@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.cn@gmail.com