summaryrefslogtreecommitdiffstats
path: root/app/test/test_cpuflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_cpuflags.c')
-rw-r--r--app/test/test_cpuflags.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c
index d083c869..0e5ebe78 100644
--- a/app/test/test_cpuflags.c
+++ b/app/test/test_cpuflags.c
@@ -199,8 +199,4 @@ test_cpuflags(void)
return 0;
}
-static struct test_command cpuflags_cmd = {
- .command = "cpuflags_autotest",
- .callback = test_cpuflags,
-};
-REGISTER_TEST_COMMAND(cpuflags_cmd);
+REGISTER_TEST_COMMAND(cpuflags_autotest, test_cpuflags);