1
0
Fork 0

powerpc/44x: Fix build error with -Werror for Warp platform

With -Werror enabled during the build, the warp.c file fails to build
due to the temp_isr function not containing a return statement.  This
fixes the build error and documents that the function never returns.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
hifive-unleashed-5.1
Josh Boyer 2009-07-05 10:02:15 -04:00
parent ba703e1a7a
commit a22ebd069d
1 changed files with 3 additions and 0 deletions

View File

@ -163,6 +163,9 @@ static irqreturn_t temp_isr(int irq, void *context)
value ^= 1;
mdelay(500);
}
/* Not reached */
return IRQ_HANDLED;
}
static int pika_setup_leds(void)