diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2009-08-06 22:58:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-12 23:49:48 -0400 |
commit | 78090a58c49f2f6213d0bb1b3b4c4df73e26865f (patch) | |
tree | 1898fca84a5406c0b5a4b04cf223b36b70bb99ef /net/ieee802154/nl_policy.c | |
parent | 8505091d2a067ad27d4a82df9cff8eae6ee52fca (diff) |
nl802154: make ieee802154_policy constant
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154/nl_policy.c')
-rw-r--r-- | net/ieee802154/nl_policy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ieee802154/nl_policy.c b/net/ieee802154/nl_policy.c index c7d71d1adcac..83cb4ccef90d 100644 --- a/net/ieee802154/nl_policy.c +++ b/net/ieee802154/nl_policy.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #define NLA_HW_ADDR NLA_U64 | 25 | #define NLA_HW_ADDR NLA_U64 |
26 | 26 | ||
27 | struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = { | 27 | const struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = { |
28 | [IEEE802154_ATTR_DEV_NAME] = { .type = NLA_STRING, }, | 28 | [IEEE802154_ATTR_DEV_NAME] = { .type = NLA_STRING, }, |
29 | [IEEE802154_ATTR_DEV_INDEX] = { .type = NLA_U32, }, | 29 | [IEEE802154_ATTR_DEV_INDEX] = { .type = NLA_U32, }, |
30 | 30 | ||
@@ -50,3 +50,4 @@ struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = { | |||
50 | [IEEE802154_ATTR_DURATION] = { .type = NLA_U8, }, | 50 | [IEEE802154_ATTR_DURATION] = { .type = NLA_U8, }, |
51 | [IEEE802154_ATTR_ED_LIST] = { .len = 27 }, | 51 | [IEEE802154_ATTR_ED_LIST] = { .len = 27 }, |
52 | }; | 52 | }; |
53 | |||