diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2004-09-30 18:13:33 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2004-09-30 18:13:33 +0000 |
commit | 3aef3841d0c8099a97a56a285f0a21d9147405bd (patch) | |
tree | 3f09642b0ca6016251386a51922d1d8975ad44bf /linux-core/drm_stub.c | |
parent | 0bff0d9eb6317ccccafc79cac7b235b4cb4c9161 (diff) |
Make fops per driver instead of global, remove default flush, poll, read
functions
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); |