Skip to content
Snippets Groups Projects
Commit 17f81f62 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

board/etin/kvme080/multiverse.c: Fix GCC 4.6 build warning.


Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
Cc: Sangmoon Kim <dogoil@etinsys.com>
parent 138b6089
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <common.h> #include <common.h>
#include <asm/io.h> #include <asm/io.h>
#include <pci.h> #include <pci.h>
#include <linux/compiler.h>
#include "multiverse.h" #include "multiverse.h"
...@@ -103,7 +104,7 @@ int multiv_reset(unsigned long base) ...@@ -103,7 +104,7 @@ int multiv_reset(unsigned long base)
void multiv_auto_slot_id(unsigned long base) void multiv_auto_slot_id(unsigned long base)
{ {
unsigned int vector; __maybe_unused unsigned int vector;
int slot_id = 1; int slot_id = 1;
if (readb(base + VME_CTRL) & VME_CTRL_SYSFAIL) { if (readb(base + VME_CTRL) & VME_CTRL_SYSFAIL) {
*(volatile unsigned int*)(base + VME_IRQ2_REG) = 0xfe; *(volatile unsigned int*)(base + VME_IRQ2_REG) = 0xfe;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment