]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/s390/char/tape_proc.c
[S390] Remove code duplication from monreader / dcssblk.
[linux-2.6-omap-h63xx.git] / drivers / s390 / char / tape_proc.c
index 5fec0a10cc3d089b172da95a59acbe6aaca7e744..c9b96d51b28f25d36ab9fa85fbc34e60648fc3e0 100644 (file)
@@ -11,7 +11,6 @@
  * PROCFS Functions
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/vmalloc.h>
 #include <linux/seq_file.h>
@@ -98,7 +97,7 @@ static void tape_proc_stop(struct seq_file *m, void *v)
 {
 }
 
-static struct seq_operations tape_proc_seq = {
+static const struct seq_operations tape_proc_seq = {
        .start          = tape_proc_start,
        .next           = tape_proc_next,
        .stop           = tape_proc_stop,
@@ -110,7 +109,7 @@ static int tape_proc_open(struct inode *inode, struct file *file)
        return seq_open(file, &tape_proc_seq);
 }
 
-static struct file_operations tape_proc_ops =
+static const struct file_operations tape_proc_ops =
 {
        .open           = tape_proc_open,
        .read           = seq_read,