forked from luck/tmp_suning_uos_patched
5e928f77a0
Introduce a core framework for run-time power management of I/O devices. Add device run-time PM fields to 'struct dev_pm_info' and device run-time PM callbacks to 'struct dev_pm_ops'. Introduce a run-time PM workqueue and define some device run-time PM helper functions at the core level. Document all these things. Special thanks to Alan Stern for his help with the design and multiple detailed reviews of the pereceding versions of this patch and to Magnus Damm for testing feedback. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Magnus Damm <damm@igel.co.jp>
8 lines
222 B
Makefile
8 lines
222 B
Makefile
obj-$(CONFIG_PM) += sysfs.o
|
|
obj-$(CONFIG_PM_SLEEP) += main.o
|
|
obj-$(CONFIG_PM_RUNTIME) += runtime.o
|
|
obj-$(CONFIG_PM_TRACE_RTC) += trace.o
|
|
|
|
ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
|
|
ccflags-$(CONFIG_PM_VERBOSE) += -DDEBUG
|