summaryrefslogtreecommitdiffstats
path: root/commands/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/flash.c')
-rw-r--r--commands/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/flash.c b/commands/flash.c
index ec793c5312..f92b60404f 100644
--- a/commands/flash.c
+++ b/commands/flash.c
@@ -37,7 +37,7 @@
#include <fcntl.h>
#include <linux/stat.h>
-static int do_flerase (cmd_tbl_t *cmdtp, int argc, char *argv[])
+static int do_flerase(struct command *cmdtp, int argc, char *argv[])
{
int fd;
char *filename = NULL;
@@ -107,7 +107,7 @@ BAREBOX_CMD_END
* Refer \b addpart, \b delpart and \b devinfo for partition handling.
*/
-static int do_protect (cmd_tbl_t *cmdtp, int argc, char *argv[])
+static int do_protect(struct command *cmdtp, int argc, char *argv[])
{
int fd;
char *filename = NULL;