mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
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>
This commit is contained in:
parent
138b60895d
commit
17f81f62fd
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue