1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 14:11:15 +02:00

tree/: Rename 'laptop_ok-> g_laptop_ok' to avoid shadowing

Avoid global symbol shadowing in local functions.

Change-Id: Idfca0b7e46d8051bf680227250cf40483e19dc53
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/73646
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sam McNally <sammc@google.com>
This commit is contained in:
Edward O'Callaghan
2023-03-11 10:48:09 +11:00
committed by Edward O'Callaghan
parent 9a2284503e
commit c65379cba2
4 changed files with 12 additions and 12 deletions

View File

@ -2293,7 +2293,7 @@ static int p2_not_a_laptop(void)
static int p2_whitelist_laptop(void)
{
is_laptop = 1;
laptop_ok = true;
g_laptop_ok = true;
msg_pdbg("Whitelisted laptop detected.\n");
return 0;
}