From 300f0f53c54fab5dd994a8bc42edbdc6115ef7b9 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 10 Apr 2010 19:54:22 +0800 Subject: [PATCH] NOR/CORE: review scope of data Add "static" qualifier to private data. Signed-off-by: Antonio Borneo --- src/flash/nor/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flash/nor/core.c b/src/flash/nor/core.c index 8b581b0c..18012c65 100644 --- a/src/flash/nor/core.c +++ b/src/flash/nor/core.c @@ -36,7 +36,7 @@ * primarily support access from Tcl scripts or from GDB. */ -struct flash_bank *flash_banks; +static struct flash_bank *flash_banks; int flash_driver_erase(struct flash_bank *bank, int first, int last) { -- 2.39.5