summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2010-07-20 07:57:07 +0200
committerBen Warren <biggerbadderben@gmail.com>2010-08-09 11:52:27 -0700
commitf699fe1e1fa6e53fe52853acea4976aa3303274c (patch)
treede3b3beaa9df71211bc254dfd0a05839d1a820b1
parentb417260d871d4d8d336c160d95ed40cc8c0fb0fa (diff)
downloadu-boot-imx-f699fe1e1fa6e53fe52853acea4976aa3303274c.zip
u-boot-imx-f699fe1e1fa6e53fe52853acea4976aa3303274c.tar.gz
u-boot-imx-f699fe1e1fa6e53fe52853acea4976aa3303274c.tar.bz2
net,fec: Shorten device name as done for other drivers
After discussion on the ML it is suggested to drop unrequired and not useful characters from the device name. This patch changes the name for the fec_mxc driver from "FEC_MXC" to "FEC". Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
-rw-r--r--drivers/net/fec_mxc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index 57f89a3..6b801ce 100644
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
@@ -743,7 +743,7 @@ static int fec_probe(bd_t *bd)
writel(0x05ee0024, &fec->eth->r_cntrl); /* FIXME 0x05ee0004 */
fec_mii_setspeed(fec);
- sprintf(edev->name, "FEC_MXC");
+ sprintf(edev->name, "FEC");
miiphy_register(edev->name, fec_miiphy_read, fec_miiphy_write);