summaryrefslogtreecommitdiffstats
path: root/sys/pci/agp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/agp.c')
-rw-r--r--sys/pci/agp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/agp.c b/sys/pci/agp.c
index 6f09660..6a01e20 100644
--- a/sys/pci/agp.c
+++ b/sys/pci/agp.c
@@ -70,6 +70,8 @@ static d_ioctl_t agp_ioctl;
static d_mmap_t agp_mmap;
static struct cdevsw agp_cdevsw = {
+ .d_version = D_VERSION,
+ .d_flags = D_NEEDGIANT,
.d_open = agp_open,
.d_close = agp_close,
.d_ioctl = agp_ioctl,
OpenPOWER on IntegriCloud