diff options
Diffstat (limited to 'cpu/mpc8xx/scc.c')
-rw-r--r-- | cpu/mpc8xx/scc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/mpc8xx/scc.c b/cpu/mpc8xx/scc.c index fed03f77e1..4ff23c3b68 100644 --- a/cpu/mpc8xx/scc.c +++ b/cpu/mpc8xx/scc.c @@ -75,6 +75,7 @@ int scc_initialize(bd_t *bis) struct eth_device* dev; dev = (struct eth_device*) malloc(sizeof *dev); + memset(dev, 0, sizeof *dev); sprintf(dev->name, "SCC ETHERNET"); dev->iobase = 0; |