#include <config.h>
#include <command.h>
#include <asm/blackfin.h>
-#include <asm-blackfin/string.h>
+#include <asm/string.h>
#ifdef CONFIG_BF537_STAMP_LEDCMD
/* Define the command usage in a reusable way */
"led <number> <action>\n" \
" <number> - Index (0-5) of LED to change, or \"all\"\n" \
" <action> - Must be one of:\n" \
- " on off toggle\n"
+ " on off toggle"
/* Number of LEDs supported by the board */
#define NUMBER_LEDS 6
return retval;
}
-int do_bf537led(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
+int do_bf537led(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
{
int led_mask = 0;
int led_current_state = 0;
/* Display usage information */
void show_cmd_usage()
{
- printf("Usage:\n%s", USAGE_LONG);
+ printf("Usage:\n%s\n", USAGE_LONG);
}
/* Register information for u-boot to find this command */