]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/i8k.c
use mutex instead of semaphore in RocketPort driver
[linux-2.6-omap-h63xx.git] / drivers / char / i8k.c
index f3c3aaf4560e86d07161fb2b8255882c9bf74599..0289705967de3921b7834fefa38d5bb03aa55ae9 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 #include <linux/dmi.h>
+#include <linux/capability.h>
 #include <asm/uaccess.h>
 #include <asm/io.h>
 
@@ -80,7 +81,7 @@ static int i8k_open_fs(struct inode *inode, struct file *file);
 static int i8k_ioctl(struct inode *, struct file *, unsigned int,
                     unsigned long);
 
-static struct file_operations i8k_fops = {
+static const struct file_operations i8k_fops = {
        .open           = i8k_open_fs,
        .read           = seq_read,
        .llseek         = seq_lseek,