summaryrefslogtreecommitdiff
path: root/src/flash/nand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nand.h')
-rw-r--r--src/flash/nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nand.h b/src/flash/nand.h
index afec9a77..ddc4520e 100644
--- a/src/flash/nand.h
+++ b/src/flash/nand.h
@@ -230,8 +230,8 @@ int nand_register_commands(struct command_context *cmd_ctx);
int nand_init(struct command_context *cmd_ctx);
/// helper for parsing a nand device command argument string
-int nand_command_get_device_by_num(struct command_context *cmd_ctx,
- const char *str, struct nand_device **nand);
+COMMAND_HELPER(nand_command_get_device_by_num, unsigned name_index,
+ struct nand_device **nand);
#define ERROR_NAND_DEVICE_INVALID (-1100)