diff options
author | Wolfgang Denk <wd@denx.de> | 2011-11-05 05:12:59 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-07 21:18:10 (GMT) |
commit | 17f81f62fdb96d354033e73ea96649f4a1fd5b03 (patch) | |
tree | 2507d2311aa0a6d323c1ad94f2888674c18f7604 /board/etin/kvme080 | |
parent | 138b60895dff0e03301937901aee3d57ca2a067c (diff) | |
download | u-boot-17f81f62fdb96d354033e73ea96649f4a1fd5b03.tar.xz |
board/etin/kvme080/multiverse.c: Fix GCC 4.6 build warning.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Sangmoon Kim <dogoil@etinsys.com>
Diffstat (limited to 'board/etin/kvme080')
-rw-r--r-- | board/etin/kvme080/multiverse.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <common.h> #include <asm/io.h> #include <pci.h> +#include <linux/compiler.h> #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; |