summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/ec_boardid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/ec_boardid.c')
-rw-r--r--src/ec/google/chromeec/ec_boardid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/ec_boardid.c b/src/ec/google/chromeec/ec_boardid.c
index b19d9a74b2..d728324272 100644
--- a/src/ec/google/chromeec/ec_boardid.c
+++ b/src/ec/google/chromeec/ec_boardid.c
@@ -5,7 +5,7 @@
uint32_t board_id(void)
{
- MAYBE_STATIC_NONZERO uint32_t id = BOARD_ID_INIT;
+ static uint32_t id = BOARD_ID_INIT;
if (id == BOARD_ID_INIT) {
if (google_chromeec_get_board_version(&id))