[PATCH] net : make netlink_seq_ops const

From: Philippe De Muyter
Date: Fri Jul 06 2007 - 08:48:47 EST


Hi all,

Make netlink_seq_ops const

Signed-off-by: Philippe De Muyter <phdm@xxxxxxxxx>

diff -r 6c0a10cc415a net/netlink/af_netlink.c
--- a/net/netlink/af_netlink.c Thu Jul 5 16:10:16 2007 -0700
+++ b/net/netlink/af_netlink.c Fri Jul 6 14:43:30 2007 +0200
@@ -1713,7 +1713,7 @@ static int netlink_seq_show(struct seq_f
return 0;
}

-static struct seq_operations netlink_seq_ops = {
+static const struct seq_operations netlink_seq_ops = {
.start = netlink_seq_start,
.next = netlink_seq_next,
.stop = netlink_seq_stop,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/