From 5e8838fd115879174567c4c2db8ad25331619994 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Wed, 13 Oct 2004 16:40:53 +0000 Subject: Add a poll function that alternates between zero and normal poll return to bring DRM into conformance with normal poll(). --- linux-core/drmP.h | 1 + 1 file changed, 1 insertion(+) (limited to 'linux-core/drmP.h') 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); -- cgit v1.2.3