commit | 10e6f797bdaaa4880b526f0bcc36725f8fed6a9e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Feb 04 21:17:21 2021 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sat Feb 06 19:20:29 2021 +0800 |
tree | 1f97aadb3caaf2c11034596e966662f3065fedaf | |
parent | a05eb04cd51dc2e3f4d67caa11b1276795a355bc [diff] |
sysinfo: Move #ifdef so that operations are always defined 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> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>