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