Module Name:    src
Committed By:   riastradh
Date:           Mon Aug 27 06:39:05 UTC 2018

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm: drmP.h

Log Message:
drm_crtc_vblank_waitqueue has to have a sane type.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/external/bsd/drm2/dist/include/drm/drmP.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/dist/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.15 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.16
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.15	Mon Aug 27 06:17:30 2018
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h	Mon Aug 27 06:39:05 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: drmP.h,v 1.15 2018/08/27 06:17:30 riastradh Exp $	*/
+/*	$NetBSD: drmP.h,v 1.16 2018/08/27 06:39:05 riastradh Exp $	*/
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -1079,7 +1079,11 @@ extern void drm_calc_timestamping_consta
  * This function returns a pointer to the vblank waitqueue for the CRTC.
  * Drivers can use this to implement vblank waits using wait_event() & co.
  */
+#ifdef __NetBSD__
+static inline drm_waitqueue_t *drm_crtc_vblank_waitqueue(struct drm_crtc *crtc)
+#else
 static inline wait_queue_head_t *drm_crtc_vblank_waitqueue(struct drm_crtc *crtc)
+#endif
 {
 	return &crtc->dev->vblank[drm_crtc_index(crtc)].queue;
 }

Reply via email to