]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/se401.c
[PATCH] mark struct file_operations const 4
[linux-2.6-omap-h63xx.git] / drivers / media / video / se401.c
index a846ebc78cd7b8e910208d8378210b25d0939735..038448f5a9781f3e5ea6463c00d411543fe9e2f4 100644 (file)
@@ -27,7 +27,6 @@
 
 static const char version[] = "0.24";
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/vmalloc.h>
@@ -283,7 +282,7 @@ static void se401_auto_resetlevel(struct usb_se401 *se401)
 }
 
 /* irq handler for snapshot button */
-static void se401_button_irq(struct urb *urb, struct pt_regs *regs)
+static void se401_button_irq(struct urb *urb)
 {
        struct usb_se401 *se401 = urb->context;
        int status;
@@ -319,7 +318,7 @@ exit:
                     __FUNCTION__, status);
 }
 
-static void se401_video_irq(struct urb *urb, struct pt_regs *regs)
+static void se401_video_irq(struct urb *urb)
 {
        struct usb_se401 *se401 = urb->context;
        int length = urb->actual_length;
@@ -1186,7 +1185,7 @@ static int se401_mmap(struct file *file, struct vm_area_struct *vma)
        return 0;
 }
 
-static struct file_operations se401_fops = {
+static const struct file_operations se401_fops = {
        .owner =        THIS_MODULE,
        .open =         se401_open,
        .release =      se401_close,