From a176905d46d072300ba57f29ac2b98a0228e0e2d Mon Sep 17 00:00:00 2001 From: Petri Latvala Date: Mon, 17 Dec 2018 14:43:23 +0200 Subject: lib/kms: Fix documentation for for_each_pipe_static The documentation block was copypasted from for_each_pipe without changing the name. A drive-by typo fix to for_each_pipe's docs is included. Signed-off-by: Petri Latvala Cc: Daniel Vetter Reviewed-by: Arkadiusz Hiler --- lib/igt_kms.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/igt_kms.h') diff --git a/lib/igt_kms.h b/lib/igt_kms.h index 09395360..4a7c3c97 100644 --- a/lib/igt_kms.h +++ b/lib/igt_kms.h @@ -461,7 +461,7 @@ static inline bool igt_output_is_connected(igt_output_t *output) igt_output_is_connected((output)))) /** - * for_each_pipe: + * for_each_pipe_static: * @pipe: The pipe to iterate. * * This for loop iterates over all pipes supported by IGT libraries. @@ -481,7 +481,7 @@ static inline bool igt_output_is_connected(igt_output_t *output) * * Note that this cannot be used to enumerate per-pipe subtest names since it * depends upon runtime probing of the actual kms driver that is being tested. - * Used #for_each_pipe_static instead. + * Use #for_each_pipe_static instead. */ #define for_each_pipe(display, pipe) \ for (pipe = 0; assert(igt_can_fail()), pipe < igt_display_get_n_pipes(display); pipe++) -- cgit v1.2.3