summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-06-09 21:50:48 -0400
committerMike Frysinger <vapier@gentoo.org>2010-07-13 17:50:52 -0400
commit94060a158f6c67ccd10d90e262e25349bb8cc9dc (patch)
treeefe6795b3ab4c1bd7a8e08872c7fcddee3415e56 /drivers
parent787e343b91be62375001b80ee8b70f1594fdfc57 (diff)
downloadu-boot-imx-94060a158f6c67ccd10d90e262e25349bb8cc9dc.zip
u-boot-imx-94060a158f6c67ccd10d90e262e25349bb8cc9dc.tar.gz
u-boot-imx-94060a158f6c67ccd10d90e262e25349bb8cc9dc.tar.bz2
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bfin_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index ee4ad6c..e691bdf 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -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;