Skip to content

Commit

Permalink
ARM: exynos4: Fix build error due to 'gic_bank_offset' undeclared
Browse files Browse the repository at this point in the history
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 <axel.lin@gmail.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
  • Loading branch information
Axel Lin authored and Marc Zyngier committed Dec 2, 2011
1 parent 11f1c5d commit 69676c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 69676c3

Please sign in to comment.