aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/phantom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/phantom.c')
-rw-r--r--drivers/misc/phantom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/phantom.c b/drivers/misc/phantom.c
index 30754927fd80..8fa68cf308e0 100644
--- a/drivers/misc/phantom.c
+++ b/drivers/misc/phantom.c
@@ -256,10 +256,10 @@ static int phantom_release(struct inode *inode, struct file *file)
256 return 0; 256 return 0;
257} 257}
258 258
259static unsigned int phantom_poll(struct file *file, poll_table *wait) 259static __poll_t phantom_poll(struct file *file, poll_table *wait)
260{ 260{
261 struct phantom_device *dev = file->private_data; 261 struct phantom_device *dev = file->private_data;
262 unsigned int mask = 0; 262 __poll_t mask = 0;
263 263
264 pr_debug("phantom_poll: %d\n", atomic_read(&dev->counter)); 264 pr_debug("phantom_poll: %d\n", atomic_read(&dev->counter));
265 poll_wait(file, &dev->wait, wait); 265 poll_wait(file, &dev->wait, wait);