aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-10-13 16:40:53 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-10-13 16:40:53 +0000
commit5e8838fd115879174567c4c2db8ad25331619994 (patch)
tree5876cfe88d4fb9fe996f9f767f97bae13c2cb953 /linux-core/drmP.h
parentbbfe18e3bf7b45543c9f59f7363c1ed5b6bca719 (diff)
Add a poll function that alternates between zero and normal poll return to
bring DRM into conformance with normal poll().
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 583ead0f..8af9f359 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -749,6 +749,7 @@ extern int drm_open_helper(struct inode *inode, struct file *filp,
drm_device_t * dev);
extern int drm_fasync(int fd, struct file *filp, int on);
extern int drm_release(struct inode *inode, struct file *filp);
+unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait);
/* Mapping support (drm_vm.h) */
extern void drm_vm_open(struct vm_area_struct *vma);