diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2012-08-22 15:11:31 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:31:56 -0700 |
commit | 2b02541b1e701f2275f714dfd845eaa530a6c964 (patch) | |
tree | 41326bff00df900269ef5aa5c70582fbd0cc82bc /arch/arm | |
parent | cb69932172258eb39f574a09e2caea5df66ef5b7 (diff) |
ARM: Tegra: la: do not compile driver for Tegra2
Change-Id: I6120ce75b91efff29e24a60546f50f1767271bd8
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Rebase-Id: Re085312717df63bd54fc154589bfb2bc8a19a441
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-tegra/latency_allowance.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/latency_allowance.c b/arch/arm/mach-tegra/latency_allowance.c index 22375af96d63..4b1860c129f5 100644 --- a/arch/arm/mach-tegra/latency_allowance.c +++ b/arch/arm/mach-tegra/latency_allowance.c @@ -43,15 +43,10 @@ /* Bug 995270 */ #define HACK_LA_FIFO 1 -static struct dentry *latency_debug_dir; - #if !defined(CONFIG_ARCH_TEGRA_2x_SOC) static DEFINE_SPINLOCK(safety_lock); -#endif - +static struct dentry *latency_debug_dir; static int la_scaling_enable_count; - -#if !defined(CONFIG_ARCH_TEGRA_2x_SOC) static unsigned short id_to_index[ID(MAX_ID) + 1]; static struct la_scaling_info scaling_info[TEGRA_LA_MAX_ID]; @@ -262,7 +257,6 @@ void tegra_disable_latency_scaling(enum tegra_la_id id) } spin_unlock(&safety_lock); } -#endif static int la_regs_show(struct seq_file *s, void *unused) { @@ -375,3 +369,4 @@ static int __init test_la(void) late_initcall(test_la); #endif +#endif |