Commit a22ebd06 authored by Josh Boyer's avatar Josh Boyer

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: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
parent ba703e1a
...@@ -163,6 +163,9 @@ static irqreturn_t temp_isr(int irq, void *context) ...@@ -163,6 +163,9 @@ static irqreturn_t temp_isr(int irq, void *context)
value ^= 1; value ^= 1;
mdelay(500); mdelay(500);
} }
/* Not reached */
return IRQ_HANDLED;
} }
static int pika_setup_leds(void) static int pika_setup_leds(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment