From aaf848596c13f26026bcbd1071f7614e818ea766 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 10 Apr 2010 20:03:19 +0800 Subject: [PATCH] NAND/MX3: review scope of data Add "static" qualifier to private data. Signed-off-by: Antonio Borneo --- src/flash/nand/mx3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flash/nand/mx3.c b/src/flash/nand/mx3.c index 4823534c04..7d9cc8b932 100644 --- a/src/flash/nand/mx3.c +++ b/src/flash/nand/mx3.c @@ -47,7 +47,7 @@ static const char sram_buffer_bounds_err_msg[] = "trying to access out of SRAM buffer bound (addr=0x%" PRIx32 ")"; static const char get_status_register_err_msg[] = "can't get NAND status"; static uint32_t in_sram_address; -unsigned char sign_of_sequental_byte_read; +static unsigned char sign_of_sequental_byte_read; static int test_iomux_settings (struct target * target, uint32_t value, uint32_t mask, const char *text); -- 2.30.2