summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-03 12:48:14 +0000
committerphk <phk@FreeBSD.org>2003-03-03 12:48:14 +0000
commit8a0180038b858afdb5efab37fccdc9cd13a552e9 (patch)
tree906c4a68d2d076f11eba55458189c849ac73153a /sys/dev/drm
parent66c619c7d8ca78fefc1c7260ba40ae261ae79e8b (diff)
downloadFreeBSD-src-8a0180038b858afdb5efab37fccdc9cd13a552e9.zip
FreeBSD-src-8a0180038b858afdb5efab37fccdc9cd13a552e9.tar.gz
Don't initialize d_kqfilter to 0.
Diffstat (limited to 'sys/dev/drm')
-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