]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/core/dev_mcast.c
spkm3: initialize hash
[mv-sheeva.git] / net / core / dev_mcast.c
index bfcbdf73a2930efd98cc92e66fae46746cb47483..7d57bf77f3a3d186a0000c87c8a7329eb56a3f64 100644 (file)
@@ -27,7 +27,6 @@
 #include <linux/bitops.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/mm.h>
 #include <linux/socket.h>
@@ -265,7 +264,7 @@ static int dev_mc_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations dev_mc_seq_ops = {
+static const struct seq_operations dev_mc_seq_ops = {
        .start = dev_mc_seq_start,
        .next  = dev_mc_seq_next,
        .stop  = dev_mc_seq_stop,
@@ -277,7 +276,7 @@ static int dev_mc_seq_open(struct inode *inode, struct file *file)
        return seq_open(file, &dev_mc_seq_ops);
 }
 
-static struct file_operations dev_mc_seq_fops = {
+static const struct file_operations dev_mc_seq_fops = {
        .owner   = THIS_MODULE,
        .open    = dev_mc_seq_open,
        .read    = seq_read,