spi: kirkwood_spi.c: Make global variable static
authorStefan Roese <sr@denx.de>
Tue, 2 Sep 2014 12:02:52 +0000 (14:02 +0200)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Wed, 24 Sep 2014 12:18:27 +0000 (17:48 +0530)
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>
drivers/spi/kirkwood_spi.c

index 449e9f86c72bdf5f7bfe444d0c15621fb291bbe8..7d1c1f93a52663c7ae220973d17c44256a04eb29 100644 (file)
@@ -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)