[PATCH i-g-t v2 04/15] igt_kms: Make PIPE_ANY a alias for PIPE_NONE

Maarten Lankhorst
2016-07-06T09:56:02Z

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
lib/igt_kms.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 4882075430c8..dc6be5e53b74 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -40,7 +40,8 @@
/* Low-level helpers with kmstest_ prefix */

enum pipe {
- PIPE_ANY = -1,
+ PIPE_NONE = -1,
+ PIPE_ANY = PIPE_NONE,
PIPE_A = 0,
PIPE_B,
PIPE_C,