From: Wolfgang Denk Date: Sat, 5 Nov 2011 05:12:59 +0000 (+0000) Subject: board/etin/kvme080/multiverse.c: Fix GCC 4.6 build warning. X-Git-Tag: v2011.12-rc1~251 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=17f81f62fdb96d354033e73ea96649f4a1fd5b03;p=u-boot board/etin/kvme080/multiverse.c: Fix GCC 4.6 build warning. Signed-off-by: Wolfgang Denk Cc: Sangmoon Kim --- diff --git a/board/etin/kvme080/multiverse.c b/board/etin/kvme080/multiverse.c index eb895817d5..93ad57a269 100644 --- a/board/etin/kvme080/multiverse.c +++ b/board/etin/kvme080/multiverse.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "multiverse.h" @@ -103,7 +104,7 @@ int multiv_reset(unsigned long base) void multiv_auto_slot_id(unsigned long base) { - unsigned int vector; + __maybe_unused unsigned int vector; int slot_id = 1; if (readb(base + VME_CTRL) & VME_CTRL_SYSFAIL) { *(volatile unsigned int*)(base + VME_IRQ2_REG) = 0xfe;