diff options
author | Lyude <lyude@redhat.com> | 2016-12-17 05:50:13 -0500 |
---|---|---|
committer | Robert Foss <robert.foss@collabora.com> | 2016-12-17 06:33:06 -0500 |
commit | 68c59ce95443e8b1bd477a1baed0f08e89a645f9 (patch) | |
tree | a0c7b6634eed9f6b0e52f1d334543f38ade6a8f3 /lib/igt_debugfs.h | |
parent | 1ee803a790090c306765fe1b598b9d8d0a91e2b3 (diff) |
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 <lyude@redhat.com>
Tested-by: Robert Foss <robert.foss@collabora.com>
Diffstat (limited to 'lib/igt_debugfs.h')
-rw-r--r-- | lib/igt_debugfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |