[U-Boot] [PATCH] dataflash mmc mux: use common cmd_usage function
Mike Frysinger
vapier at gentoo.org
Fri Jul 23 11:41:30 CEST 2010
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
note: i have no target that uses it, so i havent compile tested this.
but the change is straight forward enough ...
common/cmd_dataflash_mmc_mux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/cmd_dataflash_mmc_mux.c b/common/cmd_dataflash_mmc_mux.c
index 97e303e..77cb9ba 100644
--- a/common/cmd_dataflash_mmc_mux.c
+++ b/common/cmd_dataflash_mmc_mux.c
@@ -41,7 +41,7 @@ int do_dataflash_mmc_mux (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
AT91F_GetMuxStatus () ? "MMC" : "SPI");
return 0;
default:
- printf ("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
return 0;
--
1.7.2
More information about the U-Boot
mailing list