aboutsummaryrefslogtreecommitdiff
path: root/linux-core/i830_drv.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-30 18:13:33 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-30 18:13:33 +0000
commit3aef3841d0c8099a97a56a285f0a21d9147405bd (patch)
tree3f09642b0ca6016251386a51922d1d8975ad44bf /linux-core/i830_drv.c
parent0bff0d9eb6317ccccafc79cac7b235b4cb4c9161 (diff)
Make fops per driver instead of global, remove default flush, poll, read
functions
Diffstat (limited to 'linux-core/i830_drv.c')
-rw-r--r--linux-core/i830_drv.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-core/i830_drv.c b/linux-core/i830_drv.c
index b2aacc61..55d38c1b 100644
--- a/linux-core/i830_drv.c
+++ b/linux-core/i830_drv.c
@@ -116,6 +116,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 = i830_mmap_buffers,
+ .fasync = drm_fasync,
+ },
};
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent)