summaryrefslogtreecommitdiff
path: root/linux/drmP.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-04-23 23:42:29 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-04-23 23:42:29 +0000
commite15b0b6a1b95e4145363b15e1a581ee230b2f9a2 (patch)
tree8f596ee2d77469d27e017bdcea6bc55628d3d738 /linux/drmP.h
parent23a76c37594d3d423963c7b8610b64367e3ff9d8 (diff)
Install dummy/noop read & poll fops unless the driver has replacements.
Diffstat (limited to 'linux/drmP.h')
-rw-r--r--linux/drmP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drmP.h b/linux/drmP.h
index 2cdc5f09..8ebd1ec8 100644
--- a/linux/drmP.h
+++ b/linux/drmP.h
@@ -684,6 +684,8 @@ extern void DRM(vm_shm_close)(struct vm_area_struct *vma);
extern int DRM(mmap_dma)(struct file *filp,
struct vm_area_struct *vma);
extern int DRM(mmap)(struct file *filp, struct vm_area_struct *vma);
+extern unsigned int DRM(poll)(struct file *filp, struct poll_table_struct *wait);
+extern ssize_t DRM(read)(struct file *filp, char *buf, size_t count, loff_t *off);
/* Memory management support (drm_memory.h) */
extern void DRM(mem_init)(void);