summaryrefslogtreecommitdiffstats
path: root/commands/dfu.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-01-04 10:21:11 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2010-02-01 17:25:32 +0100
commit922bb41a47e390ee3367fc41081d4470cac1202d (patch)
treea0fb507db0cb768f2d77adf26d6be5c9057d2187 /commands/dfu.c
parent88351d2e4bcf25fef3818c951e89180c764389ed (diff)
downloadbarebox-922bb41a47e390ee3367fc41081d4470cac1202d.tar.gz
barebox-922bb41a47e390ee3367fc41081d4470cac1202d.tar.xz
remove typedef cmd_tbl_t and replace it with struct command
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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;