summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorMayuresh Kulkarni <mkulkarni@nvidia.com>2010-05-10 17:23:10 +0530
committerGary King <gking@nvidia.com>2010-05-10 10:53:32 -0700
commitaf2ef726e747887ed41c3ea6cbcbd9e27dd3517a (patch)
tree783b6b1eff4184fee559494465f554ac05708f4e /arch/arm/mach-tegra
parent115234ca014caa7d19774a97d81b6198a83ccc56 (diff)
tegra pm: use correct config variable name
The name of config variable MACH_TEGRA_GENERIC_DEBUG is not correct. It should be CONFIG_MACH_TEGRA_GENERIC_DEBUG. MACH_TEGRA_GENERIC_DEBUG is the name set in kconfig. Change-Id: I29435b4105fc34e9ed2d352e908f2c3f1efb800a Reviewed-on: http://git-master/r/1342 Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Tested-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/init_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/init_common.c b/arch/arm/mach-tegra/init_common.c
index d04d113e85aa..677d17eb8388 100644
--- a/arch/arm/mach-tegra/init_common.c
+++ b/arch/arm/mach-tegra/init_common.c
@@ -55,7 +55,7 @@ char *tegra_boot_device = NULL;
NvRmGpioHandle s_hGpioGlobal = NULL;
#ifdef CONFIG_PM
-#ifdef MACH_TEGRA_GENERIC_DEBUG
+#ifdef CONFIG_MACH_TEGRA_GENERIC_DEBUG
extern int console_suspend_enabled;
#endif
extern void tegra_set_suspend_ops(void);
@@ -1042,7 +1042,7 @@ void __init tegra_common_init(void)
tegra_wake_init();
arm_pm_restart = tegra_machine_restart;
#ifdef CONFIG_PM
-#ifdef MACH_TEGRA_GENERIC_DEBUG
+#ifdef CONFIG_MACH_TEGRA_GENERIC_DEBUG
/* This is needed to get prints on UART
* during suspend/resume */
console_suspend_enabled = 0;