summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/via_drv.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/shared-core/via_drv.c b/shared-core/via_drv.c
index cec14e7a..df74efa8 100644
--- a/shared-core/via_drv.c
+++ b/shared-core/via_drv.c
@@ -99,6 +99,14 @@ static struct drm_driver_fn driver_fn = {
.version = version,
.ioctls = ioctls,
.num_ioctls = DRM_ARRAY_SIZE(ioctls),
+ .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)