flash/nor/nrf5: remove useless page padding and UICR autoerase
[fw/openocd] / src / flash / nor / faux.c
index d68940fc6ea2dfe86052f9c703111e78d249efd4..a894d0398ee25d38e9491778c81c1d18c84de333 100644 (file)
@@ -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,