summaryrefslogtreecommitdiffstats
path: root/app/test/test_spinlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_spinlock.c')
-rw-r--r--app/test/test_spinlock.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_spinlock.c b/app/test/test_spinlock.c
index 180d6deb..2d94eecc 100644
--- a/app/test/test_spinlock.c
+++ b/app/test/test_spinlock.c
@@ -333,8 +333,4 @@ test_spinlock(void)
return ret;
}
-static struct test_command spinlock_cmd = {
- .command = "spinlock_autotest",
- .callback = test_spinlock,
-};
-REGISTER_TEST_COMMAND(spinlock_cmd);
+REGISTER_TEST_COMMAND(spinlock_autotest, test_spinlock);