summaryrefslogtreecommitdiffstats
path: root/src/hci/commands/ntp_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci/commands/ntp_cmd.c')
-rw-r--r--src/hci/commands/ntp_cmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/hci/commands/ntp_cmd.c b/src/hci/commands/ntp_cmd.c
index 8f741a512..d7604227a 100644
--- a/src/hci/commands/ntp_cmd.c
+++ b/src/hci/commands/ntp_cmd.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdio.h>
#include <string.h>
@@ -75,7 +76,4 @@ static int ntp_exec ( int argc, char **argv ) {
}
/** NTP command */
-struct command ntp_command __command = {
- .name = "ntp",
- .exec = ntp_exec,
-};
+COMMAND ( ntp, ntp_exec );