summaryrefslogtreecommitdiffstats
path: root/app/test/test_devargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_devargs.c')
-rw-r--r--app/test/test_devargs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_devargs.c b/app/test/test_devargs.c
index e5a9aa0b..151ac2ac 100644
--- a/app/test/test_devargs.c
+++ b/app/test/test_devargs.c
@@ -131,8 +131,4 @@ test_devargs(void)
return -1;
}
-static struct test_command devargs_cmd = {
- .command = "devargs_autotest",
- .callback = test_devargs,
-};
-REGISTER_TEST_COMMAND(devargs_cmd);
+REGISTER_TEST_COMMAND(devargs_autotest, test_devargs);