X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fflash%2Fnor%2Fath79.c;h=c551f27223512301ae8a8a5b7cddb6bff2247d82;hb=a7479fa89def9d8b1854d629dfdaa0ba17132617;hp=af2112a9e50213e670cef2e530a6e10fa0f0d7d3;hpb=c3b90c052acfb7e35a0f4ce22276d53a96d631c7;p=openocd.git diff --git a/src/flash/nor/ath79.c b/src/flash/nor/ath79.c index af2112a9e5..c551f27223 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,