summaryrefslogtreecommitdiff
path: root/src/flash/lpc3180_nand_controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/lpc3180_nand_controller.c')
-rw-r--r--src/flash/lpc3180_nand_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/lpc3180_nand_controller.c b/src/flash/lpc3180_nand_controller.c
index 4b120779..41cc33ee 100644
--- a/src/flash/lpc3180_nand_controller.c
+++ b/src/flash/lpc3180_nand_controller.c
@@ -29,7 +29,7 @@ static int lpc3180_controller_ready(struct nand_device_s *nand, int timeout);
/* nand device lpc3180 <target#> <oscillator_frequency>
*/
-static int lpc3180_nand_device_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, struct nand_device_s *nand)
+NAND_DEVICE_COMMAND_HANDLER(lpc3180_nand_device_command)
{
if (argc < 3)
{