From 3616218b5acea74011aea2d14aa1f6366f242849 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 7 Oct 2023 15:13:08 -0400 Subject: cmd: Convert existing long help messages to the new macro - Generally we just drop the #ifdef CONFIG_SYS_LONGHELP and endif lines and use U_BOOT_LONGHELP to declare the same variable name as before - In a few places, either rename the variable to follow convention or introduce the variable as it was being done inline before. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- cmd/mux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/mux.c') diff --git a/cmd/mux.c b/cmd/mux.c index c75907af772..388fb0878a8 100644 --- a/cmd/mux.c +++ b/cmd/mux.c @@ -173,10 +173,10 @@ static int do_mux_deselect(struct cmd_tbl *cmdtp, int flag, int argc, return CMD_RET_SUCCESS; } -static char mux_help_text[] = +U_BOOT_LONGHELP(mux, "list - List all Muxes and their states\n" "select - Select the given mux state\n" - "deselect - Deselect the given mux and reset it to its idle state"; + "deselect - Deselect the given mux and reset it to its idle state"); U_BOOT_CMD_WITH_SUBCMDS(mux, "List, select, and deselect muxes", mux_help_text, U_BOOT_SUBCMD_MKENT(list, 1, 1, do_mux_list), -- cgit v1.2.3