diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-03-06 20:28:37 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-03-06 20:28:37 (GMT) |
commit | d690b2cd222afc75320b9b8e9da7df02e9e630ca (patch) | |
tree | 41b7f13c7176bc74d7836a7ec585a5a456302ea9 /drivers/base/power/Makefile | |
parent | 87d1b3e60b55ef65f10054ccc319e5d67cf010e9 (diff) | |
download | linux-fsl-qoriq-d690b2cd222afc75320b9b8e9da7df02e9e630ca.tar.xz |
PM: Provide generic subsystem-level callbacks
There are subsystems whose power management callbacks only need to
invoke the callbacks provided by device drivers. Still, their system
sleep PM callbacks should play well with the runtime PM callbacks,
so that devices suspended at run time can be left in that state for
a system sleep transition.
Provide a set of generic PM callbacks for such subsystems and
define convenience macros for populating dev_pm_ops structures.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/base/power/Makefile')
-rw-r--r-- | drivers/base/power/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/power/Makefile b/drivers/base/power/Makefile index 3ce3519..89de753 100644 --- a/drivers/base/power/Makefile +++ b/drivers/base/power/Makefile @@ -1,6 +1,7 @@ obj-$(CONFIG_PM) += sysfs.o obj-$(CONFIG_PM_SLEEP) += main.o obj-$(CONFIG_PM_RUNTIME) += runtime.o +obj-$(CONFIG_PM_OPS) += generic_ops.o obj-$(CONFIG_PM_TRACE_RTC) += trace.o ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG |