diff options
Diffstat (limited to 'arch/arm/mach-at91/irq.c')
-rw-r--r-- | arch/arm/mach-at91/irq.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/irq.c b/arch/arm/mach-at91/irq.c index e0ca59171022..3d192c5aee66 100644 --- a/arch/arm/mach-at91/irq.c +++ b/arch/arm/mach-at91/irq.c | |||
@@ -232,7 +232,14 @@ static void __maybe_unused at91_aic5_eoi(struct irq_data *d) | |||
232 | at91_aic_write(AT91_AIC5_EOICR, 0); | 232 | at91_aic_write(AT91_AIC5_EOICR, 0); |
233 | } | 233 | } |
234 | 234 | ||
235 | unsigned long *at91_extern_irq; | 235 | static unsigned long *at91_extern_irq; |
236 | |||
237 | u32 at91_get_extern_irq(void) | ||
238 | { | ||
239 | if (!at91_extern_irq) | ||
240 | return 0; | ||
241 | return *at91_extern_irq; | ||
242 | } | ||
236 | 243 | ||
237 | #define is_extern_irq(hwirq) test_bit(hwirq, at91_extern_irq) | 244 | #define is_extern_irq(hwirq) test_bit(hwirq, at91_extern_irq) |
238 | 245 | ||