diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-06-24 16:05:28 -0600 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-06-26 07:25:01 +0000 |
commit | afc3ad64300bbcc14266e645beec897ef06df13d (patch) | |
tree | d356edb82af5f5d530c36626b575467c80136211 /mcp6x_spi.c | |
parent | cd8aeba7f1cee4c2bd1f8598009fc3e6e7afd8bb (diff) | |
download | flashrom-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 'mcp6x_spi.c')
-rw-r--r-- | mcp6x_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp6x_spi.c b/mcp6x_spi.c index f3692778..b53d07bd 100644 --- a/mcp6x_spi.c +++ b/mcp6x_spi.c @@ -36,7 +36,7 @@ #define MCP6X_SPI_REQUEST 0 #define MCP6X_SPI_GRANT 8 -void *mcp6x_spibar = NULL; +static void *mcp6x_spibar = NULL; /* Cached value of last GPIO state. */ static uint8_t mcp_gpiostate; |