[PATCH] Fix typo in commands/gpio.c

Randolph Chung rchung42 at gmail.com
Sun Jul 4 20:03:59 EDT 2010


Please apply. -randolph

diff --git a/commands/gpio.c b/commands/gpio.c
index 2575c1e..91078cf 100644
--- a/commands/gpio.c
+++ b/commands/gpio.c
@@ -37,7 +37,7 @@ static int do_gpio_get_value(struct command *cmdtp, int argc,
 }

 static const __maybe_unused char cmd_gpio_get_value_help[] =
-"Usage: gpio_set_value <gpio>\n";
+"Usage: gpio_get_value <gpio>\n";

 BAREBOX_CMD_START(gpio_get_value)
        .cmd            = do_gpio_get_value,
@@ -90,7 +90,7 @@ static const __maybe_unused char cmd_do_gpio_direction_input_h

 BAREBOX_CMD_START(gpio_direction_input)
        .cmd            = do_gpio_direction_input,
-       .usage          = "set a gpio as output",
+       .usage          = "set a gpio as input",
        BAREBOX_CMD_HELP(cmd_do_gpio_direction_input_help)
 BAREBOX_CMD_END



More information about the barebox mailing list