diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-10-19 10:43:59 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-10-27 22:40:28 +0200 |
commit | d463f3633da7307c4162c4b45e0a94bb7fab44d3 (patch) | |
tree | 244c9a7adddbba964d29dbefb44d0bba859935c3 /arch/arm/mach-ixp2000 | |
parent | ARM: 6449/1: Fix for compiler warning of uninitialized variable. (diff) | |
download | linux-d463f3633da7307c4162c4b45e0a94bb7fab44d3.tar.xz linux-d463f3633da7307c4162c4b45e0a94bb7fab44d3.zip |
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/mach-ixp2000')
-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) return offset / ticks_per_usec; } -static int ixp2000_timer_interrupt(int irq, void *dev_id) +static irqreturn_t ixp2000_timer_interrupt(int irq, void *dev_id) { /* clear timer 1 */ ixp2000_reg_wrb(IXP2000_T1_CLR, 1); |