]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/gfs2/locking/dlm/plock.c
[PATCH] mark struct file_operations const 6
[linux-2.6-omap-h63xx.git] / fs / gfs2 / locking / dlm / plock.c
index 7365aec9511b67a62f8f75c7e351bbcc0bbf61b7..1dd4215b83d02133592033949bced668548102cc 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <linux/miscdevice.h>
 #include <linux/lock_dlm_plock.h>
+#include <linux/poll.h>
 
 #include "lock_dlm.h"
 
@@ -263,7 +264,7 @@ static unsigned int dev_poll(struct file *file, poll_table *wait)
        return 0;
 }
 
-static struct file_operations dev_fops = {
+static const struct file_operations dev_fops = {
        .read    = dev_read,
        .write   = dev_write,
        .poll    = dev_poll,