]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/econet/af_econet.c
[NET]: move struct proto_ops to const
[mirror_ubuntu-artful-kernel.git] / net / econet / af_econet.c
index 34fdac51df965d45d22b850da9aa379e17cfeac0..ff58f49c8b4aee0e61be4726e5bfcf7ce8b54a69 100644 (file)
@@ -45,7 +45,7 @@
 #include <asm/uaccess.h>
 #include <asm/system.h>
 
-static struct proto_ops econet_ops;
+static const struct proto_ops econet_ops;
 static struct hlist_head econet_sklist;
 static DEFINE_RWLOCK(econet_lock);
 
@@ -698,7 +698,7 @@ static struct net_proto_family econet_family_ops = {
        .owner  =       THIS_MODULE,
 };
 
-static struct proto_ops SOCKOPS_WRAPPED(econet_ops) = {
+static const struct proto_ops SOCKOPS_WRAPPED(econet_ops) = {
        .family =       PF_ECONET,
        .owner =        THIS_MODULE,
        .release =      econet_release,