summaryrefslogtreecommitdiff
path: root/drivers/net/bfin_mac.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-06-10 01:50:48 (GMT)
committerMike Frysinger <vapier@gentoo.org>2010-07-13 21:50:52 (GMT)
commit94060a158f6c67ccd10d90e262e25349bb8cc9dc (patch)
treeefe6795b3ab4c1bd7a8e08872c7fcddee3415e56 /drivers/net/bfin_mac.c
parent787e343b91be62375001b80ee8b70f1594fdfc57 (diff)
downloadu-boot-fsl-qoriq-94060a158f6c67ccd10d90e262e25349bb8cc9dc.tar.xz
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/net/bfin_mac.c')
-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;