mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-04 15:25:17 +02:00
tree: Make internal variables static
All these variables are only used in the files they are defined in, so they can be made static. (Backported as it untangles aliased global objects.) Change-Id: I1e55138adef540e9d3a2237aa5b289cb338c0608 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/flashrom/+/33747 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/62612 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
#define GFXNVIDIA_MEMMAP_MASK ((1 << 17) - 1)
|
||||
#define GFXNVIDIA_MEMMAP_SIZE (16 * 1024 * 1024)
|
||||
|
||||
uint8_t *nvidia_bar;
|
||||
static uint8_t *nvidia_bar;
|
||||
|
||||
const struct dev_entry gfx_nvidia[] = {
|
||||
{0x10de, 0x0010, NT, "NVIDIA", "Mutara V08 [NV2]" },
|
||||
|
Reference in New Issue
Block a user