X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Ffaux.c;h=49b6dccd0179268f4ae599b934baf37831b8ad10;hb=a7479fa89def9d8b1854d629dfdaa0ba17132617;hp=d68940fc6ea2dfe86052f9c703111e78d249efd4;hpb=84a2cab596a0621fab3424c72b43280ccdc240c2;p=fw%2Fopenocd diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c index d68940fc6..49b6dccd0 100644 --- a/src/flash/nor/faux.c +++ b/src/flash/nor/faux.c @@ -113,7 +113,7 @@ static const struct command_registration faux_command_handlers[] = { COMMAND_REGISTRATION_DONE }; -struct flash_driver faux_flash = { +const struct flash_driver faux_flash = { .name = "faux", .commands = faux_command_handlers, .flash_bank_command = faux_flash_bank_command,