[U-Boot] [PATCH] Blackfin: gpio: use common usage func
Mike Frysinger
vapier at gentoo.org
Sun Jul 25 21:35:22 CEST 2010
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
arch/blackfin/cpu/cmd_gpio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/blackfin/cpu/cmd_gpio.c b/arch/blackfin/cpu/cmd_gpio.c
index 9e505b6..21c2bb9 100644
--- a/arch/blackfin/cpu/cmd_gpio.c
+++ b/arch/blackfin/cpu/cmd_gpio.c
@@ -28,7 +28,7 @@ int do_gpio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
if (argc != 3) {
show_usage:
- printf("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
--
1.7.2
More information about the U-Boot
mailing list