History

PM / Domains: Fix build for CONFIG_PM_RUNTIME unset

Function genpd_queue_power_off_work() is not defined for CONFIG_PM_RUNTIME, so pm_genpd_poweroff_unused() causes a build error to happen in that case. Fix the problem by making pm_genpd_poweroff_unused() depend on CONFIG_PM_RUNTIME too.

Rafael J. Wysocki committed 15 years ago

Commit 17f2ae71 parent 91d85ea3 files · +26 −18Browse files

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

Unified · Split

kernel/power/Kconfig+4−0
@@ -231,3 +231,7 @@ config PM_CLK · 230 unmodified lines
231config PM_GENERIC_DOMAINS231config PM_GENERIC_DOMAINS
232 bool232 bool
233 depends on PM233 depends on PM
234
235config PM_GENERIC_DOMAINS_RUNTIME
236 def_bool y
237 depends on PM_RUNTIME && PM_GENERIC_DOMAINS

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t