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:

committed by
Edward O'Callaghan

parent
9a2284503e
commit
c65379cba2
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user