aboutsummaryrefslogtreecommitdiffstats
path: root/nicintel.c
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-06-24 16:05:28 -0600
committerNico Huber <nico.h@gmx.de>2019-06-26 07:25:01 +0000
commitafc3ad64300bbcc14266e645beec897ef06df13d (patch)
treed356edb82af5f5d530c36626b575467c80136211 /nicintel.c
parentcd8aeba7f1cee4c2bd1f8598009fc3e6e7afd8bb (diff)
downloadflashrom-afc3ad64300bbcc14266e645beec897ef06df13d.tar.gz
flashrom-afc3ad64300bbcc14266e645beec897ef06df13d.tar.bz2
flashrom-afc3ad64300bbcc14266e645beec897ef06df13d.zip
tree: Make internal variables static
All these variables are only used in the files they are defined in, so they can be made static. 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>
Diffstat (limited to 'nicintel.c')
-rw-r--r--nicintel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nicintel.c b/nicintel.c
index a4424e76..4672890f 100644
--- a/nicintel.c
+++ b/nicintel.c
@@ -20,8 +20,8 @@
#include "programmer.h"
#include "hwaccess.h"
-uint8_t *nicintel_bar;
-uint8_t *nicintel_control_bar;
+static uint8_t *nicintel_bar;
+static uint8_t *nicintel_control_bar;
const struct dev_entry nics_intel[] = {
{PCI_VENDOR_ID_INTEL, 0x1209, NT, "Intel", "8255xER/82551IT Fast Ethernet Controller"},