diff options
Diffstat (limited to 'linux-core/mach64_drv.c')
-rw-r--r-- | linux-core/mach64_drv.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-core/mach64_drv.c b/linux-core/mach64_drv.c index fb9b6b94..3a65dc1c 100644 --- a/linux-core/mach64_drv.c +++ b/linux-core/mach64_drv.c @@ -99,6 +99,14 @@ static struct drm_driver_fn driver_fn = { .ioctls = ioctls, .num_ioctls = DRM_ARRAY_SIZE(ioctls), .dma_ioctl = mach64_dma_buffers, + .fops = { + .owner = THIS_MODULE, + .open = drm_open, + .release = drm_release, + .ioctl = drm_ioctl, + .mmap = drm_mmap, + .fasync = drm_fasync, + }, }; static int probe(struct pci_dev *pdev, const struct pci_device_id *ent) |