summaryrefslogtreecommitdiffstats
path: root/stm50flw0x0x.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm50flw0x0x.c')
-rw-r--r--stm50flw0x0x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm50flw0x0x.c b/stm50flw0x0x.c
index 80f518e..60e5c45 100644
--- a/stm50flw0x0x.c
+++ b/stm50flw0x0x.c
@@ -39,7 +39,7 @@
static int unlock_block_stm50flw0x0x(struct flashchip *flash, int offset)
{
chipaddr wrprotect = flash->virtual_registers + 2;
- const uint8_t unlock_sector = 0x00;
+ static const uint8_t unlock_sector = 0x00;
int j;
/*
OpenPOWER on IntegriCloud