Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4cb5700 authored by Johannes Berg's avatar Johannes Berg Committed by Len Brown
Browse files

Suspend: Clean up Kconfig (V2)



This cleans up the suspend Kconfig and removes the need to
declare centrally which architectures support suspend. All
architectures that currently support suspend are modified
accordingly.

Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Acked-by: default avatarRussell King <rmk@arm.linux.org.uk>
Acked-by: default avatarPaul Mackerras <paulus@samba.org>
Acked-by: default avatarRalf Baechle <ralf@linux-mips.org>
Acked-by: default avatarPaul Mundt <lethal@linux-sh.org>
Cc: Pavel Machek <pavel@suse.cz>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 801e4062
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1035,6 +1035,9 @@ menu "Power management options"

source "kernel/power/Kconfig"

config ARCH_SUSPEND_POSSIBLE
	def_bool y

endmenu

source "net/Kconfig"
+4 −0
Original line number Diff line number Diff line
@@ -898,6 +898,10 @@ endmenu
menu "Power management options"
source "kernel/power/Kconfig"

config ARCH_SUSPEND_POSSIBLE
	def_bool y
	depends on !SMP

choice
	prompt "Select PM Wakeup Event Source"
	default PM_WAKEUP_GPIO_BY_SIC_IWR
+5 −0
Original line number Diff line number Diff line
@@ -357,6 +357,11 @@ source "drivers/pcmcia/Kconfig"
#	  should probably wait a while.

menu "Power management options"

config ARCH_SUSPEND_POSSIBLE
	def_bool y
	depends on !SMP

source kernel/power/Kconfig
endmenu

+4 −0
Original line number Diff line number Diff line
@@ -2086,6 +2086,10 @@ endmenu

menu "Power management options"

config ARCH_SUSPEND_POSSIBLE
	def_bool y
	depends on !SMP

source "kernel/power/Kconfig"

endmenu
+4 −0
Original line number Diff line number Diff line
@@ -166,6 +166,10 @@ config ARCH_HIBERNATION_POSSIBLE
	depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32)
	default y

config ARCH_SUSPEND_POSSIBLE
	def_bool y
	depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200

config PPC_DCR_NATIVE
	bool
	default n
Loading