[PATCH] mark struct file_operations const 5
[deliverable/linux.git] / drivers / parisc / sba_iommu.c
index f1e7ccd5475bb413888272112e1937d67e4d5f36..76a29dadd519d79c7f1a6d04c57529cb38c5fead 100644 (file)
@@ -1799,7 +1799,7 @@ sba_proc_open(struct inode *i, struct file *f)
        return single_open(f, &sba_proc_info, NULL);
 }
 
-static struct file_operations sba_proc_fops = {
+static const struct file_operations sba_proc_fops = {
        .owner = THIS_MODULE,
        .open = sba_proc_open,
        .read = seq_read,
@@ -1831,7 +1831,7 @@ sba_proc_bitmap_open(struct inode *i, struct file *f)
        return single_open(f, &sba_proc_bitmap_info, NULL);
 }
 
-static struct file_operations sba_proc_bitmap_fops = {
+static const struct file_operations sba_proc_bitmap_fops = {
        .owner = THIS_MODULE,
        .open = sba_proc_bitmap_open,
        .read = seq_read,
This page took 0.035258 seconds and 5 git commands to generate.