aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/lpc288x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/lpc288x.c')
-rw-r--r--src/flash/nor/lpc288x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/lpc288x.c b/src/flash/nor/lpc288x.c
index afa8d79..8852c85 100644
--- a/src/flash/nor/lpc288x.c
+++ b/src/flash/nor/lpc288x.c
@@ -412,7 +412,7 @@ static int lpc288x_protect(struct flash_bank *bank, int set, int first, int last
return ERROR_OK;
}
-struct flash_driver lpc288x_flash = {
+const struct flash_driver lpc288x_flash = {
.name = "lpc288x",
.flash_bank_command = lpc288x_flash_bank_command,
.erase = lpc288x_erase,