diff options
author | Felipe Balbi <balbi@ti.com> | 2011-01-27 19:39:43 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-01-27 19:39:48 -0500 |
commit | ee23b93dff539b82fd9e225e5235ee6d2fb01346 (patch) | |
tree | f44730de2bf35c3e4b92b8b817ce3117ff8a758d /arch/arm/mach-omap2/irq.c | |
parent | bdc58fb950a3a1b0bc3cbd8e23d21ecdde2ac9a2 (diff) |
arm: omap2: irq: fix compile warning:
Fix the following compile warning:
arch/arm/mach-omap2/irq.c:64:31: warning: 'intc_context' defined but not
used
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/irq.c')
-rw-r--r-- | arch/arm/mach-omap2/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 23049c487c47..d151aac291c9 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c | |||
@@ -61,8 +61,6 @@ struct omap3_intc_regs { | |||
61 | u32 mir[INTCPS_NR_MIR_REGS]; | 61 | u32 mir[INTCPS_NR_MIR_REGS]; |
62 | }; | 62 | }; |
63 | 63 | ||
64 | static struct omap3_intc_regs intc_context[ARRAY_SIZE(irq_banks)]; | ||
65 | |||
66 | /* INTC bank register get/set */ | 64 | /* INTC bank register get/set */ |
67 | 65 | ||
68 | static void intc_bank_write_reg(u32 val, struct omap_irq_bank *bank, u16 reg) | 66 | static void intc_bank_write_reg(u32 val, struct omap_irq_bank *bank, u16 reg) |
@@ -229,6 +227,8 @@ void __init omap_init_irq(void) | |||
229 | } | 227 | } |
230 | 228 | ||
231 | #ifdef CONFIG_ARCH_OMAP3 | 229 | #ifdef CONFIG_ARCH_OMAP3 |
230 | static struct omap3_intc_regs intc_context[ARRAY_SIZE(irq_banks)]; | ||
231 | |||
232 | void omap_intc_save_context(void) | 232 | void omap_intc_save_context(void) |
233 | { | 233 | { |
234 | int ind = 0, i = 0; | 234 | int ind = 0, i = 0; |