diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-12-23 22:36:32 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-01-04 20:40:41 +0100 |
commit | 29663b0cc1d5b9b6e2f6caf41e86c599a0310def (patch) | |
tree | 1b707982188452b4702229074bef19b99ee05060 /include/net/ieee802154_netdev.h | |
parent | 86f7ac77d4035e22ec7e58dcdb96327e2ecc3a9b (diff) | |
download | linux-29663b0cc1d5b9b6e2f6caf41e86c599a0310def.tar.gz linux-29663b0cc1d5b9b6e2f6caf41e86c599a0310def.tar.bz2 linux-29663b0cc1d5b9b6e2f6caf41e86c599a0310def.zip |
mac802154: constify ieee802154_llsec_ops structure
The ieee802154_llsec_ops structure is never modified, so declare it as
const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/ieee802154_netdev.h')
-rw-r--r-- | include/net/ieee802154_netdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ieee802154_netdev.h b/include/net/ieee802154_netdev.h index a62a051a3a2f..c4b31601cd53 100644 --- a/include/net/ieee802154_netdev.h +++ b/include/net/ieee802154_netdev.h @@ -337,7 +337,7 @@ struct ieee802154_mlme_ops { void (*get_mac_params)(struct net_device *dev, struct ieee802154_mac_params *params); - struct ieee802154_llsec_ops *llsec; + const struct ieee802154_llsec_ops *llsec; }; static inline struct ieee802154_mlme_ops * |