diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-10-19 04:43:59 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-10-27 16:40:28 -0400 |
commit | d463f3633da7307c4162c4b45e0a94bb7fab44d3 (patch) | |
tree | 244c9a7adddbba964d29dbefb44d0bba859935c3 /arch/arm | |
parent | 521e9549d58ebcb53042c7aad6bc60d5c2fc975f (diff) |
ARM: 6460/1: ixp2000: fix type of ixp2000_timer_interrupt
This fixes a build warning existing since at least 2.6.30:
arch/arm/mach-ixp2000/core.c:217: warning: initialization from incompatible pointer type
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-ixp2000/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp2000/core.c b/arch/arm/mach-ixp2000/core.c index babb22597163..e24e3d05397f 100644 --- a/arch/arm/mach-ixp2000/core.c +++ b/arch/arm/mach-ixp2000/core.c | |||
@@ -197,7 +197,7 @@ unsigned long ixp2000_gettimeoffset (void) | |||
197 | return offset / ticks_per_usec; | 197 | return offset / ticks_per_usec; |
198 | } | 198 | } |
199 | 199 | ||
200 | static int ixp2000_timer_interrupt(int irq, void *dev_id) | 200 | static irqreturn_t ixp2000_timer_interrupt(int irq, void *dev_id) |
201 | { | 201 | { |
202 | /* clear timer 1 */ | 202 | /* clear timer 1 */ |
203 | ixp2000_reg_wrb(IXP2000_T1_CLR, 1); | 203 | ixp2000_reg_wrb(IXP2000_T1_CLR, 1); |