]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ax25/af_ax25.c
[NET]: move struct proto_ops to const
[net-next-2.6.git] / net / ax25 / af_ax25.c
index 1b683f302657d376f438b8f9ea68805bdd14118c..8b5d10aaba059b698485a51feafa840c36061905 100644 (file)
@@ -54,7 +54,7 @@
 HLIST_HEAD(ax25_list);
 DEFINE_SPINLOCK(ax25_list_lock);
 
-static struct proto_ops ax25_proto_ops;
+static const struct proto_ops ax25_proto_ops;
 
 static void ax25_free_sock(struct sock *sk)
 {
@@ -1944,7 +1944,7 @@ static struct net_proto_family ax25_family_ops = {
        .owner  =       THIS_MODULE,
 };
 
-static struct proto_ops ax25_proto_ops = {
+static const struct proto_ops ax25_proto_ops = {
        .family         = PF_AX25,
        .owner          = THIS_MODULE,
        .release        = ax25_release,