From 3aef3841d0c8099a97a56a285f0a21d9147405bd Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 30 Sep 2004 18:13:33 +0000 Subject: Make fops per driver instead of global, remove default flush, poll, read functions --- linux-core/drm_stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/drm_stub.c') 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); -- cgit v1.2.3