testdisplay: compile fix for !DRM_PLANES
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 30 Oct 2011 19:45:42 +0000 (20:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 30 Oct 2011 19:45:42 +0000 (20:45 +0100)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/testdisplay.c

index c8cdb20..2793a4b 100644 (file)
@@ -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