diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2009-07-05 10:02:15 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2009-07-05 10:02:15 -0400 |
commit | a22ebd069d5b533392e9bef77b73147a2f82b30b (patch) | |
tree | 33bad2de9b31f2e67135d701511db46d2efcf84d /arch/powerpc/platforms | |
parent | ba703e1a7a0b32f740bcfba8e60ad193afa4e723 (diff) |
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>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/44x/warp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/44x/warp.c b/arch/powerpc/platforms/44x/warp.c index 9916b391971e..e5c1b096c3e1 100644 --- a/arch/powerpc/platforms/44x/warp.c +++ b/arch/powerpc/platforms/44x/warp.c | |||
@@ -163,6 +163,9 @@ static irqreturn_t temp_isr(int irq, void *context) | |||
163 | value ^= 1; | 163 | value ^= 1; |
164 | mdelay(500); | 164 | mdelay(500); |
165 | } | 165 | } |
166 | |||
167 | /* Not reached */ | ||
168 | return IRQ_HANDLED; | ||
166 | } | 169 | } |
167 | 170 | ||
168 | static int pika_setup_leds(void) | 171 | static int pika_setup_leds(void) |