summaryrefslogtreecommitdiffstats
path: root/include/net/genetlink.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-06-05 21:38:30 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-06-07 22:40:10 +0200
commitef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d (patch)
tree4c27ec3362d958b99672366437d5eb6038dd561d /include/net/genetlink.h
parent[TCP] tcp_probe: Attach printf attribute properly to printl(). (diff)
downloadlinux-ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d.tar.xz
linux-ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d.zip
[NETLINK]: Mark netlink policies const
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/genetlink.h')
-rw-r--r--include/net/genetlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/genetlink.h b/include/net/genetlink.h
index adff4c898d50..b6eaca122db8 100644
--- a/include/net/genetlink.h
+++ b/include/net/genetlink.h
@@ -60,7 +60,7 @@ struct genl_ops
{
u8 cmd;
unsigned int flags;
- struct nla_policy *policy;
+ const struct nla_policy *policy;
int (*doit)(struct sk_buff *skb,
struct genl_info *info);
int (*dumpit)(struct sk_buff *skb,