X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Ffaux.c;h=e1e77eaa23864d14d9364bd4d723c7c67e7853a2;hb=303b493c229475df26d69d102bbaf5ae5e5e7a3f;hp=c996522c58388050392c574de65fa965351f528d;hpb=f7bd1e8f3a302378687ded559e865c258d441c89;p=openocd.git diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c index c996522c58..e1e77eaa23 100644 --- a/src/flash/nor/faux.c +++ b/src/flash/nor/faux.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include +#include "imp.h" #include #include "hello.h" @@ -135,15 +135,15 @@ static const struct command_registration faux_command_handlers[] = { }; struct flash_driver faux_flash = { - .name = "faux", - .commands = faux_command_handlers, - .flash_bank_command = &faux_flash_bank_command, - .erase = &faux_erase, - .protect = &faux_protect, - .write = &faux_write, - .probe = &faux_probe, - .auto_probe = &faux_probe, - .erase_check = &default_flash_blank_check, - .protect_check = &faux_protect_check, - .info = &faux_info - }; + .name = "faux", + .commands = faux_command_handlers, + .flash_bank_command = faux_flash_bank_command, + .erase = faux_erase, + .protect = faux_protect, + .write = faux_write, + .probe = faux_probe, + .auto_probe = faux_probe, + .erase_check = default_flash_blank_check, + .protect_check = faux_protect_check, + .info = faux_info +};