[PATCH 7/7] ARM: psci command: Add to misc group

Sascha Hauer s.hauer at pengutronix.de
Fri Dec 1 03:03:26 PST 2017


Explicitly add psci command to the misc group to get rid of
the warning that the command has no group.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/cpu/psci.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/cpu/psci.c b/arch/arm/cpu/psci.c
index eafb361a0a..0a7e48f8fe 100644
--- a/arch/arm/cpu/psci.c
+++ b/arch/arm/cpu/psci.c
@@ -303,7 +303,8 @@ BAREBOX_CMD_HELP_OPT ("-z",  "Turn off secondary CPU core")
 BAREBOX_CMD_HELP_END
 
 BAREBOX_CMD_START(smc)
-        .cmd            = do_smc,
-        BAREBOX_CMD_DESC("secure monitor test command")
+	.cmd = do_smc,
+	BAREBOX_CMD_DESC("secure monitor test command")
+	BAREBOX_CMD_GROUP(CMD_GRP_MISC)
 BAREBOX_CMD_END
 #endif
\ No newline at end of file
-- 
2.11.0




More information about the barebox mailing list