Index: platform/power.c |
diff --git a/platform/power.c b/platform/power.c |
index ecb74457a92783bed0ecfb349d151bb1b31c8f1e..d4cc8f01d1f8d45828fb5d8b8a91b81908e63ac6 100644 |
--- a/platform/power.c |
+++ b/platform/power.c |
@@ -57,8 +57,8 @@ static int cmd_poweroff(int argc, const cmd_args *argv) |
STATIC_COMMAND_START |
#if LK_DEBUGLEVEL > 1 |
- { "reboot", "soft reset", &cmd_reboot }, |
- { "poweroff", "powerdown", &cmd_poweroff }, |
+STATIC_COMMAND("reboot", "soft reset", &cmd_reboot) |
+STATIC_COMMAND("poweroff", "powerdown", &cmd_poweroff) |
#endif |
STATIC_COMMAND_END(platform_power); |