summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2011-10-30 20:45:42 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2011-10-30 20:45:42 +0100
commit5b8bbc950d411ea30ebe14e6d001f1eb3204f8b1 (patch)
treecdffe40169dfd20027e9e13e565e27ffb68274d9
parent5ef806bb5d4767eeeb6ec926b8af7044c98d47a0 (diff)
testdisplay: compile fix for !DRM_PLANES
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--tests/testdisplay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index c8cdb20..2793a4b 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -819,6 +819,9 @@ disable_planes(int fd)
}
#else
static void enable_plane(struct connector *c) { return; }
+static void
+adjust_plane(int fd, int xdistance, int ydistance, int wdiff, int hdiff)
+{ return; }
static void disable_planes(int fd) { return; }
#endif