From 17f81f62fdb96d354033e73ea96649f4a1fd5b03 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sat, 5 Nov 2011 05:12:59 +0000 Subject: 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 eb89581..93ad57a 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; -- cgit v0.10.2