summaryrefslogtreecommitdiff
path: root/bsd-core
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-09-06 23:26:50 -0700
committerEric Anholt <eric@anholt.net>2006-09-06 23:26:50 -0700
commitdddacd7a3a4bd0c453b346cee70d1d36a401e539 (patch)
tree6d1cf8b190cd9c1bcd12788f910e704d7fc47a5c /bsd-core
parent55057660f035a03078910d678e5fd9b0cb0b795a (diff)
Use the DRM_INIT_WAITQUEUE argument (needed on Linux) to avoid a warning.
Diffstat (limited to 'bsd-core')
-rw-r--r--bsd-core/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h
index 6fa39734..9ebb12ae 100644
--- a/bsd-core/drmP.h
+++ b/bsd-core/drmP.h
@@ -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) \