summaryrefslogtreecommitdiff
path: root/bsd-core
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-10-22 21:50:09 +0000
committerEric Anholt <anholt@freebsd.org>2003-10-22 21:50:09 +0000
commit4e6ddcbb698c029b407d5dc43348c6e422a36705 (patch)
tree9334fd7efc0d01638695d0e0dd7979e4ca7ae9a4 /bsd-core
parentea7b4fdc225ebbbfd77f875fd3bfcfbdcfa9a1f7 (diff)
Fix warning about static DRM(bufs_info) defined but not used in the
!__HAVE_DMA case.
Diffstat (limited to 'bsd-core')
-rw-r--r--bsd-core/drm_sysctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd-core/drm_sysctl.c b/bsd-core/drm_sysctl.c
index 98bcc1ce..905f4c24 100644
--- a/bsd-core/drm_sysctl.c
+++ b/bsd-core/drm_sysctl.c
@@ -29,7 +29,9 @@
static int DRM(name_info)DRM_SYSCTL_HANDLER_ARGS;
static int DRM(vm_info)DRM_SYSCTL_HANDLER_ARGS;
static int DRM(clients_info)DRM_SYSCTL_HANDLER_ARGS;
+#if __HAVE_DMA
static int DRM(bufs_info)DRM_SYSCTL_HANDLER_ARGS;
+#endif
struct DRM(sysctl_list) {
const char *name;