summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/drm/drm_drv.h')
-rw-r--r--sys/dev/drm/drm_drv.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/drm/drm_drv.h b/sys/dev/drm/drm_drv.h
index f24422e..b709d6f 100644
--- a/sys/dev/drm/drm_drv.h
+++ b/sys/dev/drm/drm_drv.h
@@ -326,9 +326,7 @@ static struct cdevsw DRM( cdevsw) = {
.d_name = DRIVER_NAME,
.d_maj = CDEV_MAJOR,
.d_flags = D_TTY | D_TRACKCLOSE,
-#if __FreeBSD_version >= 500000
- .d_kqfilter = 0
-#else
+#if __FreeBSD_version < 500000
/* bmaj */ -1
#endif
};
OpenPOWER on IntegriCloud