X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_ambapp.c;h=fa7d7e280fb8acd386f376a6a61e4b13a69bf6a6;hb=a806ee6fae19a615fb806a6f01e5398b087e898a;hp=06531f12b32339ad9f514390920ee2e68ba084d0;hpb=2fb2604d5c20beb061b0a94282b7f6eb14d00cb8;p=u-boot diff --git a/common/cmd_ambapp.c b/common/cmd_ambapp.c index 06531f12b3..fa7d7e280f 100644 --- a/common/cmd_ambapp.c +++ b/common/cmd_ambapp.c @@ -223,7 +223,7 @@ void ambapp_print_ahb(ahbctrl_pp_dev * ahb, int index) printf(" irq: %-2d (ver: %d)\n", irq, ver); } -int do_ambapp_print(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) +int do_ambapp_print(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) { /* Print AHB Masters */ @@ -272,7 +272,9 @@ int ambapp_init_reloc(void) return 0; } -U_BOOT_CMD(ambapp, 1, 1, do_ambapp_print, - "list AMBA Plug&Play information", - "ambapp\n" - " - lists AMBA (AHB & APB) Plug&Play devices present on the system\n"); +U_BOOT_CMD( + ambapp, 1, 1, do_ambapp_print, + "list AMBA Plug&Play information", + "ambapp\n" + " - lists AMBA (AHB & APB) Plug&Play devices present on the system" +);