summaryrefslogtreecommitdiffstats
path: root/app/test/test_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_pci.c')
-rw-r--r--app/test/test_pci.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_pci.c b/app/test/test_pci.c
index 354a0ad9..69f78d92 100644
--- a/app/test/test_pci.c
+++ b/app/test/test_pci.c
@@ -315,8 +315,4 @@ test_pci(void)
return 0;
}
-static struct test_command pci_cmd = {
- .command = "pci_autotest",
- .callback = test_pci,
-};
-REGISTER_TEST_COMMAND(pci_cmd);
+REGISTER_TEST_COMMAND(pci_autotest, test_pci);