NAND/MX3: review scope of data
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 12:03:19 +0000 (20:03 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 12:03:19 +0000 (20:03 +0800)
Add "static" qualifier to private data.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/flash/nand/mx3.c

index 4823534c04c4c1cc6d1c2337a49d2869bdfd7728..7d9cc8b93255c10002590ca1103a189ddebf4fa4 100644 (file)
@@ -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);