summaryrefslogtreecommitdiffstats
path: root/commands/dfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/dfu.c')
-rw-r--r--commands/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/dfu.c b/commands/dfu.c
index fe865efb90..66fd6eaa62 100644
--- a/commands/dfu.c
+++ b/commands/dfu.c
@@ -95,7 +95,7 @@ static int dfu_do_parse_one(char *partstr, char **endstr, struct usb_dfu_dev *df
* s = save mode (download whole image before flashing)
* r = read back (firmware image can be downloaded back from host)
*/
-static int do_dfu(cmd_tbl_t *cmdtp, int argc, char *argv[])
+static int do_dfu(struct command *cmdtp, int argc, char *argv[])
{
int opt, n = 0;
struct usb_dfu_pdata pdata;