ARM: tegra3: ARM_SAVE_DEBUG_CONTEXT should be selected based on PM_SLEEP
authorManoj Chourasia <mchourasia@nvidia.com>
Wed, 21 Mar 2012 09:14:14 +0000 (14:14 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 28 Mar 2012 16:47:31 +0000 (09:47 -0700)
commitfe0df5b6c6f143483535cea4bd74a736f4bbed04
treecf3e037f8a60dcc67a7a24c4e139deceb86152cc
parent576ee573eb1841d5400960a96ec6fb24e4ec103b
ARM: tegra3: ARM_SAVE_DEBUG_CONTEXT should be selected based on PM_SLEEP

ARM_SAVE_DEBUG_CONTEXT was getting selected by tegra3 independent
of PM_SLEEP config. ARM_SAVE_DEBUG_CONTEXT itself is dependent on
PM_SLEEP. That was generating following warning while doing
savedefconfig with PM_SLEEP disabled.

scripts/kconfig/conf --savedefconfig=defconfig Kconfig
warning: (ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects \
ARM_SAVE_DEBUG_CONTEXT which has unmet direct dependencies\
(PM_SLEEP && CPU_V7)

This patch fixes the issue.

bug 931053

Change-Id: I57016476b7ca39f9ac36a9c59d0102c89c85c6c9
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/91461
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
arch/arm/mach-tegra/Kconfig