summaryrefslogtreecommitdiff
path: root/include/programmer.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2023-03-11 10:48:09 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2023-03-28 00:34:25 +0000
commitc65379cba274fe4c6fd1054079d19ebb628e04d3 (patch)
tree9bd60ef08b403f4b2e82867a16e3099b22e4a973 /include/programmer.h
parent9a2284503e17652896f432c2b6652dd31717bb6f (diff)
downloadflashrom-git-c65379cba274fe4c6fd1054079d19ebb628e04d3.tar.gz
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>
Diffstat (limited to 'include/programmer.h')
-rw-r--r--include/programmer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/programmer.h b/include/programmer.h
index d8d8b4a2..304a2166 100644
--- a/include/programmer.h
+++ b/include/programmer.h
@@ -264,7 +264,7 @@ extern int superio_count;
#if CONFIG_INTERNAL == 1
extern int is_laptop;
-extern bool laptop_ok;
+extern bool g_laptop_ok;
extern bool force_boardmismatch;
void probe_superio(void);
int register_superio(struct superio s);