diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ieee802154_netdev.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/ieee802154_netdev.h b/include/net/ieee802154_netdev.h index 5dc6a61952de..d23fb5a94c96 100644 --- a/include/net/ieee802154_netdev.h +++ b/include/net/ieee802154_netdev.h | |||
@@ -98,14 +98,14 @@ struct ieee802154_mlme_ops { | |||
98 | * FIXME: these should become the part of PIB/MIB interface. | 98 | * FIXME: these should become the part of PIB/MIB interface. |
99 | * However we still don't have IB interface of any kind | 99 | * However we still don't have IB interface of any kind |
100 | */ | 100 | */ |
101 | u16 (*get_pan_id)(struct net_device *dev); | 101 | u16 (*get_pan_id)(const struct net_device *dev); |
102 | u16 (*get_short_addr)(struct net_device *dev); | 102 | u16 (*get_short_addr)(const struct net_device *dev); |
103 | u8 (*get_dsn)(struct net_device *dev); | 103 | u8 (*get_dsn)(const struct net_device *dev); |
104 | u8 (*get_bsn)(struct net_device *dev); | 104 | u8 (*get_bsn)(const struct net_device *dev); |
105 | }; | 105 | }; |
106 | 106 | ||
107 | static inline struct ieee802154_mlme_ops *ieee802154_mlme_ops( | 107 | static inline struct ieee802154_mlme_ops *ieee802154_mlme_ops( |
108 | struct net_device *dev) | 108 | const struct net_device *dev) |
109 | { | 109 | { |
110 | return dev->ml_priv; | 110 | return dev->ml_priv; |
111 | } | 111 | } |