x86: Fix member check in intel_gnvs
authorSimon Glass <sjg@chromium.org>
Tue, 23 Feb 2021 10:35:40 +0000 (05:35 -0500)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 9 Mar 2021 01:42:12 +0000 (09:42 +0800)
commit0b823e16b6b9443200faf9a51943642b3937ea99
tree31132eb74699d161eee7d7678c0e78f62f31878b
parent97401d0dbcd71d34fee95e3d89736699e78a9c6b
x86: Fix member check in intel_gnvs

When CONFIG_CHROMEOS is not enabled this currently does not build. Fix it.

Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/intel_gnvs.h