summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/jasperlake_rvp/board_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/jasperlake_rvp/board_id.c')
-rw-r--r--src/mainboard/intel/jasperlake_rvp/board_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/intel/jasperlake_rvp/board_id.c b/src/mainboard/intel/jasperlake_rvp/board_id.c
index 90609ff079..d1876de48f 100644
--- a/src/mainboard/intel/jasperlake_rvp/board_id.c
+++ b/src/mainboard/intel/jasperlake_rvp/board_id.c
@@ -23,7 +23,7 @@ static uint32_t get_board_id_via_ext_ec(void)
*/
int get_board_id(void)
{
- MAYBE_STATIC_NONZERO int id = -1;
+ static int id = -1;
if (id < 0) {
if (CONFIG(EC_GOOGLE_CHROMEEC)) {