NOR/CORE: review scope of data

Add "static" qualifier to private data.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Antonio Borneo 2010-04-10 19:54:22 +08:00
parent 402d3292bb
commit 300f0f53c5
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{