Commit 97b05d7d authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

mpc8xx/ether.c: fix warning: unused variable 'bd'



Also minor coding style cleanup.
Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent 2dce551e
......@@ -109,14 +109,20 @@ static RTXBD *rtx;
static void scc_init (int scc_index)
{
bd_t *bd = gd->bd;
uchar ea[6];
static int proff[] =
{ PROFF_SCC1, PROFF_SCC2, PROFF_SCC3, PROFF_SCC4 };
static unsigned int cpm_cr[] =
{ CPM_CR_CH_SCC1, CPM_CR_CH_SCC2, CPM_CR_CH_SCC3,
CPM_CR_CH_SCC4 };
static int proff[] = {
PROFF_SCC1,
PROFF_SCC2,
PROFF_SCC3,
PROFF_SCC4,
};
static unsigned int cpm_cr[] = {
CPM_CR_CH_SCC1,
CPM_CR_CH_SCC2,
CPM_CR_CH_SCC3,
CPM_CR_CH_SCC4,
};
int i;
scc_enet_t *pram_ptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment