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_fops.c | |
parent | 0bff0d9eb6317ccccafc79cac7b235b4cb4c9161 (diff) |
Make fops per driver instead of global, remove default flush, poll, read
functions
Diffstat (limited to 'linux-core/drm_fops.c')
-rw-r--r-- | linux-core/drm_fops.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c index 89f64527..0ee303df 100644 --- a/linux-core/drm_fops.c +++ b/linux-core/drm_fops.c @@ -116,18 +116,6 @@ out_free: } /** No-op. */ -int drm_flush(struct file *filp) -{ - drm_file_t *priv = filp->private_data; - drm_device_t *dev = priv->dev; - - DRM_DEBUG("pid = %d, device = 0x%lx, open_count = %d\n", - current->pid, (long)old_encode_dev(dev->device), dev->open_count); - return 0; -} -EXPORT_SYMBOL(drm_flush); - -/** No-op. */ int drm_fasync(int fd, struct file *filp, int on) { drm_file_t *priv = filp->private_data; @@ -140,16 +128,3 @@ int drm_fasync(int fd, struct file *filp, int on) return 0; } EXPORT_SYMBOL(drm_fasync); - -/** No-op. */ -unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait) -{ - return 0; -} - - -/** No-op. */ -ssize_t drm_read(struct file *filp, char __user *buf, size_t count, loff_t *off) -{ - return 0; -} |