aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/api-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/api-io.c')
-rw-r--r--tools/perf/tests/api-io.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/tests/api-io.c b/tools/perf/tests/api-io.c
index 2ada86ad608409..e91cf2c127f166 100644
--- a/tools/perf/tests/api-io.c
+++ b/tools/perf/tests/api-io.c
@@ -289,8 +289,8 @@ static int test_get_dec(void)
return ret;
}
-int test__api_io(struct test *test __maybe_unused,
- int subtest __maybe_unused)
+static int test__api_io(struct test_suite *test __maybe_unused,
+ int subtest __maybe_unused)
{
int ret = 0;
@@ -302,3 +302,5 @@ int test__api_io(struct test *test __maybe_unused,
ret = TEST_FAIL;
return ret;
}
+
+DEFINE_SUITE("Test api io", api_io);