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>
This commit is contained in:
committed by
Marcel Holtmann
parent
c4227c8a62
commit
a6cb869b3b
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user