diff options
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r-- | linux-core/drm_stub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c index 00188b8c..6333d25d 100644 --- a/linux-core/drm_stub.c +++ b/linux-core/drm_stub.c @@ -77,7 +77,7 @@ static int stub_open(struct inode *inode, struct file *filp) return -ENODEV; old_fops = filp->f_op; - filp->f_op = fops_get(dev->fops); + filp->f_op = fops_get(&dev->fn_tbl->fops); if (filp->f_op->open && (err = filp->f_op->open(inode, filp))) { fops_put(filp->f_op); filp->f_op = fops_get(old_fops); |