diff options
-rw-r--r-- | sys/dev/drm/drm_drv.h | 4 |
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 }; |