From: Michael Hennerich Date: Wed, 4 Mar 2009 09:35:51 +0000 (+0800) Subject: Blackfin arch: Fix BUG - kernel fails to build in pm.c when allow wakeup fromi standb... X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ff19fed4fe54f2f1dd439ac02969333ea9a9b4ff;p=linux-beck.git Blackfin arch: Fix BUG - kernel fails to build in pm.c when allow wakeup fromi standby by GPIO This feature is not available on BF54x. Signed-off-by: Michael Hennerich Signed-off-by: Bryan Wu --- diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index be6097163b07..0c1f86e3e44a 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig @@ -1129,6 +1129,7 @@ endchoice config PM_WAKEUP_BY_GPIO bool "Allow Wakeup from Standby by GPIO" + depends on PM && !BF54x config PM_WAKEUP_GPIO_NUMBER int "GPIO number"