X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Flpc288x.c;h=5ab4e9ccef98a796370eabb63977228156567405;hb=7abe9f38b2321b00b240fb7901dc408106fb07f8;hp=252a8133f7069eced7f35e37c9e8dc10ed26a7a6;hpb=d1bc4375e99ce52b72988494f35beca364234bae;p=openocd diff --git a/src/flash/nor/lpc288x.c b/src/flash/nor/lpc288x.c index 252a8133..5ab4e9cc 100644 --- a/src/flash/nor/lpc288x.c +++ b/src/flash/nor/lpc288x.c @@ -31,6 +31,7 @@ #include "config.h" #endif +#include "imp.h" #include "lpc288x.h" #include @@ -472,14 +473,14 @@ static int lpc288x_protect(struct flash_bank *bank, int set, int first, int last } struct flash_driver lpc288x_flash = { - .name = "lpc288x", - .flash_bank_command = &lpc288x_flash_bank_command, - .erase = &lpc288x_erase, - .protect = &lpc288x_protect, - .write = &lpc288x_write, - .probe = &lpc288x_probe, - .auto_probe = &lpc288x_probe, - .erase_check = &lpc288x_erase_check, - .protect_check = &lpc288x_protect_check, - .info = &lpc288x_info, - }; + .name = "lpc288x", + .flash_bank_command = lpc288x_flash_bank_command, + .erase = lpc288x_erase, + .protect = lpc288x_protect, + .write = lpc288x_write, + .probe = lpc288x_probe, + .auto_probe = lpc288x_probe, + .erase_check = lpc288x_erase_check, + .protect_check = lpc288x_protect_check, + .info = lpc288x_info, +};