Use the DRM_INIT_WAITQUEUE argument (needed on Linux) to avoid a warning.

This commit is contained in:
Eric Anholt 2006-09-06 23:26:50 -07:00
parent 55057660f0
commit dddacd7a3a

View file

@ -170,7 +170,7 @@ MALLOC_DECLARE(M_DRM);
#define wait_queue_head_t atomic_t
#define DRM_WAKEUP(w) wakeup((void *)w)
#define DRM_WAKEUP_INT(w) wakeup(w)
#define DRM_INIT_WAITQUEUE(queue) do {} while (0)
#define DRM_INIT_WAITQUEUE(queue) do {(void)(queue);} while (0)
#if defined(__FreeBSD__) && __FreeBSD_version < 502109
#define bus_alloc_resource_any(dev, type, rid, flags) \