summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2014-09-02 14:02:52 +0200
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2014-09-24 17:48:27 +0530
commit0299046e5b4eec6c79927324deab857db1689e92 (patch)
treec6181bd2e420d8bab7c0f6d7ccbdd3bc8fbbfe9e /drivers
parentc032174f8218496a7768e4a27d1eb25b7e6f7a4d (diff)
downloadu-boot-imx-0299046e5b4eec6c79927324deab857db1689e92.zip
u-boot-imx-0299046e5b4eec6c79927324deab857db1689e92.tar.gz
u-boot-imx-0299046e5b4eec6c79927324deab857db1689e92.tar.bz2
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>
Diffstat (limited to 'drivers')
-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 449e9f8..7d1c1f9 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)