From 4e6ddcbb698c029b407d5dc43348c6e422a36705 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 22 Oct 2003 21:50:09 +0000 Subject: Fix warning about static DRM(bufs_info) defined but not used in the !__HAVE_DMA case. --- bsd/drm_sysctl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bsd') diff --git a/bsd/drm_sysctl.h b/bsd/drm_sysctl.h index 98bcc1ce..905f4c24 100644 --- a/bsd/drm_sysctl.h +++ b/bsd/drm_sysctl.h @@ -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; -- cgit v1.2.3