aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese2014-09-02 14:02:52 +0200
committerJagannadha Sutradharudu Teki2014-09-24 17:48:27 +0530
commit0299046e5b4eec6c79927324deab857db1689e92 (patch)
treec6181bd2e420d8bab7c0f6d7ccbdd3bc8fbbfe9e
parentc032174f8218496a7768e4a27d1eb25b7e6f7a4d (diff)
spi: kirkwood_spi.c: Make global variable static
Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Prafulla Wadaskar <prafulla@marvell.com> Tested-by: Luka Perkov <luka@openwrt.org> Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-rw-r--r--drivers/spi/kirkwood_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
index 449e9f86c72..7d1c1f93a52 100644
--- a/drivers/spi/kirkwood_spi.c
+++ b/drivers/spi/kirkwood_spi.c
@@ -18,7 +18,7 @@
static struct kwspi_registers *spireg = (struct kwspi_registers *)KW_SPI_BASE;
-u32 cs_spi_mpp_back[2];
+static u32 cs_spi_mpp_back[2];
struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
unsigned int max_hz, unsigned int mode)