X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fnetlink.h;h=f82e463c875a51600ad0055c86c164d12e3e16ed;hb=ce300c7ffa61165f9bfd16e511ee0cd4114977ab;hp=a63b2192ac1cdf83dfc636ba362e58bd5da8b9ad;hpb=b09a75fc5e77b7c58d097236f89b1ff72dcdb562;p=pandora-kernel.git diff --git a/include/net/netlink.h b/include/net/netlink.h index a63b2192ac1c..f82e463c875a 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h @@ -196,7 +196,7 @@ enum { * All other Exact length of attribute payload * * Example: - * static struct nla_policy my_policy[ATTR_MAX+1] __read_mostly = { + * static const struct nla_policy my_policy[ATTR_MAX+1] = { * [ATTR_FOO] = { .type = NLA_U16 }, * [ATTR_BAR] = { .type = NLA_STRING, .len = BARSIZ }, * [ATTR_BAZ] = { .len = sizeof(struct mystruct) },