summaryrefslogtreecommitdiff
path: root/src/flash/lpc2900.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/lpc2900.c')
-rw-r--r--src/flash/lpc2900.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/flash/lpc2900.c b/src/flash/lpc2900.c
index 945fc9a2..953a62a1 100644
--- a/src/flash/lpc2900.c
+++ b/src/flash/lpc2900.c
@@ -1016,9 +1016,7 @@ static int lpc2900_register_commands(struct command_context_s *cmd_ctx)
/// Evaluate flash bank command.
-static int lpc2900_flash_bank_command(struct command_context_s *cmd_ctx,
- char *cmd, char **args, int argc,
- struct flash_bank_s *bank)
+FLASH_BANK_COMMAND_HANDLER(lpc2900_flash_bank_command)
{
lpc2900_flash_bank_t *lpc2900_info;