X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Flpc2900.c;h=c798e445552f70aa98372671a25416165491e236;hp=022fb82a3e7fe9a78ed6539faace287b327251eb;hb=b61e454869c988e7fafc1c16982ccfec04415b51;hpb=9542cb7c3d9f4b66d2df3d8412a73d008077ab86 diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c index 022fb82a3e..c798e44555 100644 --- a/src/flash/nor/lpc2900.c +++ b/src/flash/nor/lpc2900.c @@ -1581,7 +1581,7 @@ static int lpc2900_protect_check(struct flash_bank *bank) return lpc2900_read_security_status(bank); } -struct flash_driver lpc2900_flash = { +const struct flash_driver lpc2900_flash = { .name = "lpc2900", .commands = lpc2900_command_handlers, .flash_bank_command = lpc2900_flash_bank_command,