powerpc/44x: Fix build error with -Werror for Warp platform
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sun, 5 Jul 2009 14:02:15 +0000 (10:02 -0400)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sun, 5 Jul 2009 14:02:15 +0000 (10:02 -0400)
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>
arch/powerpc/platforms/44x/warp.c

index 9916b391971e1f2df7b4b50f4051c90fd46e5b62..e5c1b096c3e124186d9a4a4ae5c3f1cac8b06d06 100644 (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)