mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
nl802154: make ieee802154_policy constant
Signed-off-by: Dmitry Eremin-Solenikov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
8505091d2a
commit
78090a58c4
2 changed files with 3 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#define NLA_HW_ADDR NLA_U64
|
||||
|
||||
struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = {
|
||||
const struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = {
|
||||
[IEEE802154_ATTR_DEV_NAME] = { .type = NLA_STRING, },
|
||||
[IEEE802154_ATTR_DEV_INDEX] = { .type = NLA_U32, },
|
||||
|
||||
|
|
@ -50,3 +50,4 @@ struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = {
|
|||
[IEEE802154_ATTR_DURATION] = { .type = NLA_U8, },
|
||||
[IEEE802154_ATTR_ED_LIST] = { .len = 27 },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue