Skip to content

Commit 977d2fa

Browse files
Kevin Hilmanrafaeljw
authored andcommitted
PM / Runtime: Kconfig: move ia64 dependency to arch/ia64/Kconfig
The IA64_HP_SIM dependency on PM_RUNTIME should be done in the arch Kconfig instead of in the PM core. Move it accordingly. NOTE: arch/ia64/Kconfig currently does a 'select PM', which since commit 1eb208a (PM: Make CONFIG_PM depend on (CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME)) is effectively a noop unless PM_SLEEP or PM_RUNTIME are set elsewhere. Signed-off-by: Kevin Hilman <khilman@linaro.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent dbcd2d7 commit 977d2fa

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

arch/ia64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ config IA64_SGI_UV
233233
config IA64_HP_SIM
234234
bool "Ski-simulator"
235235
select SWIOTLB
236+
depends on !PM_RUNTIME
236237

237238
endchoice
238239

kernel/power/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ config PM_WAKELOCKS_GC
131131

132132
config PM_RUNTIME
133133
bool "Run-time PM core functionality"
134-
depends on !IA64_HP_SIM
135134
---help---
136135
Enable functionality allowing I/O devices to be put into energy-saving
137136
(low power) states at run time (or autosuspended) after a specified

0 commit comments

Comments
 (0)