diff options
Diffstat (limited to 'board_enable.c')
-rw-r--r-- | board_enable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board_enable.c b/board_enable.c index f0df211e..0531fab2 100644 --- a/board_enable.c +++ b/board_enable.c @@ -2282,7 +2282,7 @@ static int it8718f_gpio63_raise(void) static int p2_not_a_laptop(void) { /* label this board as not a laptop */ - is_laptop = 0; + g_is_laptop = 0; msg_pdbg("Laptop detection overridden by P2 board enable.\n"); return 0; } @@ -2292,7 +2292,7 @@ static int p2_not_a_laptop(void) */ static int p2_whitelist_laptop(void) { - is_laptop = 1; + g_is_laptop = 1; g_laptop_ok = true; msg_pdbg("Whitelisted laptop detected.\n"); return 0; |