From: Uwe Kleine-König Date: Tue, 19 Oct 2010 08:43:59 +0000 (+0100) Subject: ARM: 6460/1: ixp2000: fix type of ixp2000_timer_interrupt X-Git-Tag: v2.6.37-rc1~23^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d463f3633da7307c4162c4b45e0a94bb7fab44d3;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Russell King --- diff --git a/arch/arm/mach-ixp2000/core.c b/arch/arm/mach-ixp2000/core.c index babb225..e24e3d0 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);