From afc3ad64300bbcc14266e645beec897ef06df13d Mon Sep 17 00:00:00 2001 From: Jacob Garber Date: Mon, 24 Jun 2019 16:05:28 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/33747 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- mcp6x_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp6x_spi.c') diff --git a/mcp6x_spi.c b/mcp6x_spi.c index f3692778f..b53d07bd4 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; -- cgit v1.2.3