X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Ffaux.c;h=a894d0398ee25d38e9491778c81c1d18c84de333;hb=006d8e5444a67c8f569dcbd30add975d46635e38;hp=d68940fc6ea2dfe86052f9c703111e78d249efd4;hpb=9542cb7c3d9f4b66d2df3d8412a73d008077ab86;p=fw%2Fopenocd diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c index d68940fc6..a894d0398 100644 --- a/src/flash/nor/faux.c +++ b/src/flash/nor/faux.c @@ -109,11 +109,12 @@ static const struct command_registration faux_command_handlers[] = { .mode = COMMAND_ANY, .help = "faux flash command group", .chain = hello_command_handlers, + .usage = "", }, 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,