[U-Boot] [PATCH v3 04/25] spi: kirkwood_spi.c: Make global variable static
Stefan Roese
sr at denx.de
Tue Sep 2 14:02:52 CEST 2014
Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
Acked-by: Prafulla Wadaskar <prafulla at marvell.com>
Tested-by: Luka Perkov <luka at openwrt.org>
---
Changes in v3:
- Added Acked-by from Prafulla to all Kirkwood patches
- Added Tested-by from Luka
Changes in v2: None
drivers/spi/kirkwood_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
2.1.0
More information about the U-Boot
mailing list