summaryrefslogtreecommitdiffstats
path: root/developerbox_spi.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 /developerbox_spi.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 'developerbox_spi.c')
-rw-r--r--developerbox_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/developerbox_spi.c b/developerbox_spi.c
index c80a79449..4ff2fb609 100644
--- a/developerbox_spi.c
+++ b/developerbox_spi.c
@@ -60,7 +60,7 @@ const struct dev_entry devs_developerbox_spi[] = {
{0},
};
-struct libusb_context *usb_ctx;
+static struct libusb_context *usb_ctx;
static libusb_device_handle *cp210x_handle;
static int cp210x_gpio_get(void)