diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-18 03:14:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-18 17:30:18 -0500 |
commit | b54452b07a7b1b8cc1385edba3ef2ef6d4679d5a (patch) | |
tree | c8a7271b14c4cd9e0dc22a5d0a3bed9e79c88e36 /net/wimax/op-msg.c | |
parent | 3ffe533c87281b68d469b279ff3a5056f9c75862 (diff) |
const: struct nla_policy
Make remaining netlink policies as const.
Fixup coding style where needed.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wimax/op-msg.c')
-rw-r--r-- | net/wimax/op-msg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/wimax/op-msg.c b/net/wimax/op-msg.c index d3bfb6ef13ae..7718657e93dc 100644 --- a/net/wimax/op-msg.c +++ b/net/wimax/op-msg.c | |||
@@ -320,8 +320,7 @@ int wimax_msg(struct wimax_dev *wimax_dev, const char *pipe_name, | |||
320 | EXPORT_SYMBOL_GPL(wimax_msg); | 320 | EXPORT_SYMBOL_GPL(wimax_msg); |
321 | 321 | ||
322 | 322 | ||
323 | static const | 323 | static const struct nla_policy wimax_gnl_msg_policy[WIMAX_GNL_ATTR_MAX + 1] = { |
324 | struct nla_policy wimax_gnl_msg_policy[WIMAX_GNL_ATTR_MAX + 1] = { | ||
325 | [WIMAX_GNL_MSG_IFIDX] = { | 324 | [WIMAX_GNL_MSG_IFIDX] = { |
326 | .type = NLA_U32, | 325 | .type = NLA_U32, |
327 | }, | 326 | }, |