summaryrefslogtreecommitdiffstats
path: root/sys/pci/xrpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/xrpu.c')
-rw-r--r--sys/pci/xrpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/xrpu.c b/sys/pci/xrpu.c
index d6c6cd3..6c1d8fd 100644
--- a/sys/pci/xrpu.c
+++ b/sys/pci/xrpu.c
@@ -43,6 +43,8 @@ static d_ioctl_t xrpu_ioctl;
static d_mmap_t xrpu_mmap;
static struct cdevsw xrpu_cdevsw = {
+ .d_version = D_VERSION,
+ .d_flags = D_NEEDGIANT,
.d_open = xrpu_open,
.d_close = xrpu_close,
.d_ioctl = xrpu_ioctl,
OpenPOWER on IntegriCloud