]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/x25/af_x25.c
net: mark net_proto_ops as const
[net-next-2.6.git] / net / x25 / af_x25.c
index 7fa9c7ad3d3b5b7efbe4c612511425628900a138..ebbfe6bbbff98ddde3f7c4fbb44babb5fd38b11c 100644 (file)
@@ -1476,7 +1476,7 @@ static int x25_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
        return rc;
 }
 
-static struct net_proto_family x25_family_ops = {
+static const struct net_proto_family x25_family_ops = {
        .family =       AF_X25,
        .create =       x25_create,
        .owner  =       THIS_MODULE,