aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/ath79.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/ath79.c')
-rw-r--r--src/flash/nor/ath79.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/ath79.c b/src/flash/nor/ath79.c
index af2112a9..c551f272 100644
--- a/src/flash/nor/ath79.c
+++ b/src/flash/nor/ath79.c
@@ -895,7 +895,7 @@ static int get_ath79_info(struct flash_bank *bank, char *buf, int buf_size)
return ERROR_OK;
}
-struct flash_driver ath79_flash = {
+const struct flash_driver ath79_flash = {
.name = "ath79",
.flash_bank_command = ath79_flash_bank_command,
.erase = ath79_erase,