diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-18 08:14:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-18 14:30:18 -0800 |
commit | b54452b07a7b1b8cc1385edba3ef2ef6d4679d5a (patch) | |
tree | c8a7271b14c4cd9e0dc22a5d0a3bed9e79c88e36 /net/irda | |
parent | 3ffe533c87281b68d469b279ff3a5056f9c75862 (diff) | |
download | blackbird-op-linux-b54452b07a7b1b8cc1385edba3ef2ef6d4679d5a.tar.gz blackbird-op-linux-b54452b07a7b1b8cc1385edba3ef2ef6d4679d5a.zip |
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/irda')
-rw-r--r-- | net/irda/irnetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/irnetlink.c b/net/irda/irnetlink.c index 476b307bd801..69b5b75f5431 100644 --- a/net/irda/irnetlink.c +++ b/net/irda/irnetlink.c @@ -124,7 +124,7 @@ static int irda_nl_get_mode(struct sk_buff *skb, struct genl_info *info) return ret; } -static struct nla_policy irda_nl_policy[IRDA_NL_ATTR_MAX + 1] = { +static const struct nla_policy irda_nl_policy[IRDA_NL_ATTR_MAX + 1] = { [IRDA_NL_ATTR_IFNAME] = { .type = NLA_NUL_STRING, .len = IFNAMSIZ-1 }, [IRDA_NL_ATTR_MODE] = { .type = NLA_U32 }, |