diff options
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/mach-at32ap/intc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/intc.c b/arch/avr32/mach-at32ap/intc.c index dd5c009cf224..0b286cd53028 100644 --- a/arch/avr32/mach-at32ap/intc.c +++ b/arch/avr32/mach-at32ap/intc.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/irq.h> | 13 | #include <linux/irq.h> |
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | 15 | ||
16 | #include <asm/intc.h> | ||
16 | #include <asm/io.h> | 17 | #include <asm/io.h> |
17 | 18 | ||
18 | #include "intc.h" | 19 | #include "intc.h" |
@@ -136,7 +137,8 @@ fail: | |||
136 | panic("Interrupt controller initialization failed!\n"); | 137 | panic("Interrupt controller initialization failed!\n"); |
137 | } | 138 | } |
138 | 139 | ||
139 | unsigned long intc_get_pending(int group) | 140 | unsigned long intc_get_pending(unsigned int group) |
140 | { | 141 | { |
141 | return intc_readl(&intc0, INTREQ0 + 4 * group); | 142 | return intc_readl(&intc0, INTREQ0 + 4 * group); |
142 | } | 143 | } |
144 | EXPORT_SYMBOL_GPL(intc_get_pending); | ||