[ICMP6]: Introduce icmp6_hdr()
[pandora-kernel.git] / net / ipv6 / proc.c
index 032ef95..fa3fb50 100644 (file)
@@ -17,7 +17,6 @@
  *             as published by the Free Software Foundation; either version
  *             2 of the License, or (at your option) any later version.
  */
-#include <linux/sched.h>
 #include <linux/socket.h>
 #include <linux/net.h>
 #include <linux/ipv6.h>
@@ -187,7 +186,7 @@ static int sockstat6_seq_open(struct inode *inode, struct file *file)
        return single_open(file, sockstat6_seq_show, NULL);
 }
 
-static struct file_operations sockstat6_seq_fops = {
+static const struct file_operations sockstat6_seq_fops = {
        .owner   = THIS_MODULE,
        .open    = sockstat6_seq_open,
        .read    = seq_read,
@@ -200,7 +199,7 @@ static int snmp6_seq_open(struct inode *inode, struct file *file)
        return single_open(file, snmp6_seq_show, PDE(inode)->data);
 }
 
-static struct file_operations snmp6_seq_fops = {
+static const struct file_operations snmp6_seq_fops = {
        .owner   = THIS_MODULE,
        .open    = snmp6_seq_open,
        .read    = seq_read,