From 68c59ce95443e8b1bd477a1baed0f08e89a645f9 Mon Sep 17 00:00:00 2001 From: Lyude Date: Sat, 17 Dec 2016 05:50:13 -0500 Subject: igt_kms: Use const parameters for igt_assert_crc_equal Since we're not modifying these anywhere, let's make them const so as to not break code doing comparisons against compile-time CRCs. Signed-off-by: Lyude Tested-by: Robert Foss --- lib/igt_debugfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/igt_debugfs.h') diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h index 4c6572cd..86c25dd3 100644 --- a/lib/igt_debugfs.h +++ b/lib/igt_debugfs.h @@ -113,7 +113,7 @@ enum intel_pipe_crc_source { INTEL_PIPE_CRC_SOURCE_MAX, }; -void igt_assert_crc_equal(igt_crc_t *a, igt_crc_t *b); +void igt_assert_crc_equal(const igt_crc_t *a, const igt_crc_t *b); char *igt_crc_to_string(igt_crc_t *crc); void igt_require_pipe_crc(void); -- cgit v1.2.3