diff options
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r-- | include/linux/pm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index e2f1be6dd9dd..2d29c64f8fb1 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h | |||
@@ -603,10 +603,18 @@ extern void dev_pm_put_subsys_data(struct device *dev); | |||
603 | * Power domains provide callbacks that are executed during system suspend, | 603 | * Power domains provide callbacks that are executed during system suspend, |
604 | * hibernation, system resume and during runtime PM transitions along with | 604 | * hibernation, system resume and during runtime PM transitions along with |
605 | * subsystem-level and driver-level callbacks. | 605 | * subsystem-level and driver-level callbacks. |
606 | * | ||
607 | * @detach: Called when removing a device from the domain. | ||
608 | * @activate: Called before executing probe routines for bus types and drivers. | ||
609 | * @sync: Called after successful driver probe. | ||
610 | * @dismiss: Called after unsuccessful driver probe and after driver removal. | ||
606 | */ | 611 | */ |
607 | struct dev_pm_domain { | 612 | struct dev_pm_domain { |
608 | struct dev_pm_ops ops; | 613 | struct dev_pm_ops ops; |
609 | void (*detach)(struct device *dev, bool power_off); | 614 | void (*detach)(struct device *dev, bool power_off); |
615 | int (*activate)(struct device *dev); | ||
616 | void (*sync)(struct device *dev); | ||
617 | void (*dismiss)(struct device *dev); | ||
610 | }; | 618 | }; |
611 | 619 | ||
612 | /* | 620 | /* |