]> err.no Git - linux-2.6/blobdiff - drivers/media/video/bt8xx/bttv-driver.c
[PATCH] mark struct file_operations const 4
[linux-2.6] / drivers / media / video / bt8xx / bttv-driver.c
index ab8f970760f2f5510bf3b136eb11d3195ca6bb59..41fd09d7d11e4dbbb3b714ac9a54b8e667cf615f 100644 (file)
@@ -3174,7 +3174,7 @@ bttv_mmap(struct file *file, struct vm_area_struct *vma)
        return videobuf_mmap_mapper(bttv_queue(fh),vma);
 }
 
-static struct file_operations bttv_fops =
+static const struct file_operations bttv_fops =
 {
        .owner    = THIS_MODULE,
        .open     = bttv_open,
@@ -3332,7 +3332,7 @@ static unsigned int radio_poll(struct file *file, poll_table *wait)
        return cmd.result;
 }
 
-static struct file_operations radio_fops =
+static const struct file_operations radio_fops =
 {
        .owner    = THIS_MODULE,
        .open     = radio_open,