diff options
author | Varka Bhadram <varkabhadram@gmail.com> | 2015-06-24 09:36:35 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-07-23 15:10:49 (GMT) |
commit | a6cb869b3b7c16fd7c3ee766dd9f9a4fdda7edf9 (patch) | |
tree | a62ccbcbd43f12ffd7025f897134fd37e3d7b0b3 /include | |
parent | c4227c8a6246b30793bd7360113ddc7b66d526dc (diff) | |
download | linux-a6cb869b3b7c16fd7c3ee766dd9f9a4fdda7edf9.tar.xz |
cfg802154: add PM hooks
This patch help to implement suspend/resume in mac802154, these
hooks will be run before the device is suspended and after it
resumes.
Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/cfg802154.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h index 290a9a6..382f94b 100644 --- a/include/net/cfg802154.h +++ b/include/net/cfg802154.h @@ -34,6 +34,8 @@ struct cfg802154_ops { int type); void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy, struct net_device *dev); + int (*suspend)(struct wpan_phy *wpan_phy); + int (*resume)(struct wpan_phy *wpan_phy); int (*add_virtual_intf)(struct wpan_phy *wpan_phy, const char *name, unsigned char name_assign_type, |