diff options
Diffstat (limited to 'drivers/misc/phantom.c')
-rw-r--r-- | drivers/misc/phantom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/phantom.c b/drivers/misc/phantom.c index fa57b67593ae..04c27266f567 100644 --- a/drivers/misc/phantom.c +++ b/drivers/misc/phantom.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/interrupt.h> | 22 | #include <linux/interrupt.h> |
23 | #include <linux/cdev.h> | 23 | #include <linux/cdev.h> |
24 | #include <linux/phantom.h> | 24 | #include <linux/phantom.h> |
25 | #include <linux/sched.h> | ||
25 | #include <linux/smp_lock.h> | 26 | #include <linux/smp_lock.h> |
26 | 27 | ||
27 | #include <asm/atomic.h> | 28 | #include <asm/atomic.h> |
@@ -271,7 +272,7 @@ static unsigned int phantom_poll(struct file *file, poll_table *wait) | |||
271 | return mask; | 272 | return mask; |
272 | } | 273 | } |
273 | 274 | ||
274 | static struct file_operations phantom_file_ops = { | 275 | static const struct file_operations phantom_file_ops = { |
275 | .open = phantom_open, | 276 | .open = phantom_open, |
276 | .release = phantom_release, | 277 | .release = phantom_release, |
277 | .unlocked_ioctl = phantom_ioctl, | 278 | .unlocked_ioctl = phantom_ioctl, |