From 4badf87addc69b33445a79a4fca845f89ce68e37 Mon Sep 17 00:00:00 2001 From: Varun Wadekar Date: Wed, 22 Aug 2012 15:11:31 +0530 Subject: ARM: Tegra: la: do not compile driver for Tegra2 Change-Id: I6120ce75b91efff29e24a60546f50f1767271bd8 Signed-off-by: Varun Wadekar --- arch/arm/mach-tegra/latency_allowance.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'arch/arm/mach-tegra/latency_allowance.c') 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 -- cgit v1.2.3