summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-11-05 05:13:18 +0000
committerWolfgang Denk <wd@denx.de>2011-11-07 22:49:48 +0100
commit7aeda21a172a3c2ffaa7376f5945368d4c67b7cc (patch)
tree16f70517e1174a70eae2702a48082323bc751edf
parentcaf63eb4a00720828c12dfb1ccfd4beda05c850a (diff)
downloadu-boot-imx-7aeda21a172a3c2ffaa7376f5945368d4c67b7cc.zip
u-boot-imx-7aeda21a172a3c2ffaa7376f5945368d4c67b7cc.tar.gz
u-boot-imx-7aeda21a172a3c2ffaa7376f5945368d4c67b7cc.tar.bz2
board/funkwerk/vovpn-gw/vovpn-gw.c: Fix GCC 4.6 build warning
Fix: vovpn-gw.c: In function 'misc_init_r': vovpn-gw.c:266:16: warning: variable 'temp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--board/funkwerk/vovpn-gw/vovpn-gw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/funkwerk/vovpn-gw/vovpn-gw.c b/board/funkwerk/vovpn-gw/vovpn-gw.c
index a4bfbc9..57bd21f 100644
--- a/board/funkwerk/vovpn-gw/vovpn-gw.c
+++ b/board/funkwerk/vovpn-gw/vovpn-gw.c
@@ -25,6 +25,7 @@
#include <mpc8260.h>
#include <asm/m8260_pci.h>
#include <miiphy.h>
+#include <linux/compiler.h>
#include "m88e6060.h"
@@ -263,7 +264,7 @@ int board_early_init_f (void)
int misc_init_r (void)
{
volatile ioport_t *iop;
- unsigned char temp;
+ __maybe_unused unsigned char temp;
#if 0
/* DUMP UPMA RAM */
volatile immap_t *immap;