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