Blackfin: bfin_mac: remove space from name

Some commands (like 'mii') use this name to select devices, but they break
when those names contain spaces.  So drop the space from the Blackfin EMAC
driver.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2010-06-09 21:50:48 -04:00
parent 787e343b91
commit 94060a158f
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ int bfin_EMAC_initialize(bd_t *bis)
hang();
memset(dev, 0, sizeof(*dev));
sprintf(dev->name, "Blackfin EMAC");
strcpy(dev->name, "bfin_mac");
dev->iobase = 0;
dev->priv = 0;