diff options
author | Stefan Roese <sr@denx.de> | 2014-09-02 12:02:52 (GMT) |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2014-09-24 12:18:27 (GMT) |
commit | 0299046e5b4eec6c79927324deab857db1689e92 (patch) | |
tree | c6181bd2e420d8bab7c0f6d7ccbdd3bc8fbbfe9e /drivers/spi/kirkwood_spi.c | |
parent | c032174f8218496a7768e4a27d1eb25b7e6f7a4d (diff) | |
download | u-boot-fsl-qoriq-0299046e5b4eec6c79927324deab857db1689e92.tar.xz |
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/spi/kirkwood_spi.c')
-rw-r--r-- | drivers/spi/kirkwood_spi.c | 2 |
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) |