From: Mike Frysinger Date: Thu, 29 Jul 2010 17:42:10 +0000 (-0400) Subject: dataflash mmc mux: use common cmd_usage function X-Git-Tag: v2010.09-rc1~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=739b8080af30d6de73b13725abe27275dd3b27f6;p=u-boot dataflash mmc mux: use common cmd_usage function Signed-off-by: Mike Frysinger --- diff --git a/common/cmd_dataflash_mmc_mux.c b/common/cmd_dataflash_mmc_mux.c index de4e676157..fc23ed6ff2 100644 --- a/common/cmd_dataflash_mmc_mux.c +++ b/common/cmd_dataflash_mmc_mux.c @@ -41,8 +41,7 @@ int do_dataflash_mmc_mux (cmd_tbl_t *cmdtp, int flag, int argc, char * const arg AT91F_GetMuxStatus () ? "MMC" : "SPI"); return 0; default: - printf ("Usage:\n%s\n", cmdtp->usage); - return 1; + return cmd_usage(cmdtp); } return 0; }