History

PM: Eliminate CONFIG_PM_RUNTIME

Having switched over all of the users of CONFIG_PM_RUNTIME to use CONFIG_PM directly, turn the latter into a user-selectable option and drop the former entirely from the tree.

Rafael J. Wysocki committed 11 years ago

Commit 464ed181 parent 71504e537 files · +39 −48Browse files

Showing the changes to kernel (1 of 37 files). Show all

Unified · Split

kernel/power/Kconfig+6−10
@@ -94,7 +94,7 @@ config PM_STD_PARTITION · 93 unmodified lines
94config PM_SLEEP94config PM_SLEEP
95 def_bool y95 def_bool y
96 depends on SUSPEND || HIBERNATE_CALLBACKS96 depends on SUSPEND || HIBERNATE_CALLBACKS
97 select PM_RUNTIME97 select PM
98 98
99config PM_SLEEP_SMP99config PM_SLEEP_SMP
100 def_bool y100 def_bool y
@@ -130,23 +130,19 @@ config PM_WAKELOCKS_GC · 29 unmodified lines
130 depends on PM_WAKELOCKS130 depends on PM_WAKELOCKS
131 default y131 default y
132 132
133config PM_RUNTIME133config PM
134 bool "Run-time PM core functionality"134 bool "Device power management core functionality"
135 ---help---135 ---help---
136 Enable functionality allowing I/O devices to be put into energy-saving136 Enable functionality allowing I/O devices to be put into energy-saving
137 (low power) states at run time (or autosuspended) after a specified137 (low power) states, for example after a specified period of inactivity
138 period of inactivity and woken up in response to a hardware-generated138 (autosuspended), and woken up in response to a hardware-generated
139 wake-up event or a driver's request.139 wake-up event or a driver's request.
140 140
141 Hardware support is generally required for this functionality to work141 Hardware support is generally required for this functionality to work
142 and the bus type drivers of the buses the devices are on are142 and the bus type drivers of the buses the devices are on are
143 responsible for the actual handling of the autosuspend requests and143 responsible for the actual handling of device suspend requests and
144 wake-up events.144 wake-up events.
145 145
146config PM
147 def_bool y
148 depends on PM_SLEEP || PM_RUNTIME
149
150config PM_DEBUG146config PM_DEBUG
151 bool "Power Management Debug Support"147 bool "Power Management Debug Support"
152 depends on PM148 depends on PM