From: Axel Lin Date: Thu, 1 Dec 2011 15:24:30 +0000 (+0800) Subject: ARM: exynos4: Fix build error due to 'gic_bank_offset' undeclared X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=69676c37290317910543ad0bd14e70544fb3dbf2;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ARM: exynos4: Fix build error due to 'gic_bank_offset' undeclared Fix below build error: CC arch/arm/mach-exynos/cpu.o arch/arm/mach-exynos/cpu.c: In function 'exynos4_init_irq': arch/arm/mach-exynos/cpu.c:245: error: 'gic_bank_offset' undeclared (first use in this function) arch/arm/mach-exynos/cpu.c:245: error: (Each undeclared identifier is reported only once arch/arm/mach-exynos/cpu.c:245: error: for each function it appears in.) arch/arm/mach-exynos/cpu.c:243: warning: unused variable 'bank_offset' make[1]: *** [arch/arm/mach-exynos/cpu.o] Error 1 make: *** [arch/arm/mach-exynos] Error 2 Signed-off-by: Axel Lin Signed-off-by: Marc Zyngier --- diff --git a/arch/arm/mach-exynos/cpu.c b/arch/arm/mach-exynos/cpu.c index 6e34485caa36..22316cb31a8c 100644 --- a/arch/arm/mach-exynos/cpu.c +++ b/arch/arm/mach-exynos/cpu.c @@ -209,7 +209,7 @@ void __init exynos4_init_clocks(int xtal) void __init exynos4_init_irq(void) { int irq; - unsigned int bank_offset; + unsigned int gic_bank_offset; gic_bank_offset = soc_is_exynos4412() ? 0x4000 : 0x8000;