Skip to content

Commit d463f36

Browse files
Uwe Kleine-KönigRussell King
authored andcommitted
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>
1 parent 521e954 commit d463f36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm/mach-ixp2000/core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ unsigned long ixp2000_gettimeoffset (void)
197197
return offset / ticks_per_usec;
198198
}
199199

200-
static int ixp2000_timer_interrupt(int irq, void *dev_id)
200+
static irqreturn_t ixp2000_timer_interrupt(int irq, void *dev_id)
201201
{
202202
/* clear timer 1 */
203203
ixp2000_reg_wrb(IXP2000_T1_CLR, 1);

0 commit comments

Comments
 (0)