diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-10 01:41:30 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 10:51:46 -0800 |
commit | 0796dfff89bf00f82a780d7719767bcffe881d67 (patch) | |
tree | 92376ad27aee3b251bcb87ca4e388290c9e00529 /src/flash/aduc702x.c | |
parent | 57c5c5f46304a785092874a7dc0f6abc84794cc3 (diff) |
use FLASH_BANK_COMMAND_HANDLER macro
Defines all flash_bank_command handlers using the new macro.
Diffstat (limited to 'src/flash/aduc702x.c')
-rw-r--r-- | src/flash/aduc702x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/aduc702x.c b/src/flash/aduc702x.c index 7d6fa24e..0e862e9b 100644 --- a/src/flash/aduc702x.c +++ b/src/flash/aduc702x.c @@ -61,7 +61,7 @@ typedef struct /* flash bank aduc702x 0 0 0 0 <target#> * The ADC7019-28 devices all have the same flash layout */ -static int aduc702x_flash_bank_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, struct flash_bank_s *bank) +FLASH_BANK_COMMAND_HANDLER(aduc702x_flash_bank_command) { aduc702x_flash_bank_t *nbank; |