Commit 7346e385 authored by Wolfgang Denk's avatar Wolfgang Denk

board/siemens/SCM/scm.c: Fix GCC 4.6 build warning

scm.c: In function 'config_scoh_cs':
scm.c:400:16: warning: variable 'tmp' set but not used
Signed-off-by: default avatarWolfgang Denk <>
parent 7aeda21a
......@@ -24,6 +24,7 @@
#include <common.h>
#include <ioports.h>
#include <mpc8260.h>
#include <linux/compiler.h>
#include "scm.h"
......@@ -397,7 +398,7 @@ static void config_scoh_cs (void)
volatile immap_t *immr = (immap_t *) CONFIG_SYS_IMMR;
volatile memctl8260_t *memctl = &immr->im_memctl;
volatile can_reg_t *can = (volatile can_reg_t *) CONFIG_SYS_CAN0_BASE;
volatile uint tmp, i;
__maybe_unused volatile uint tmp, i;
/* Initialize OR3 / BR3 for CAN Bus Controller 0 */
memctl->memc_or3 = CONFIG_SYS_CAN0_OR3;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment