]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net,fec: Shorten device name as done for other drivers
authorStefano Babic <sbabic@denx.de>
Tue, 20 Jul 2010 05:57:07 +0000 (07:57 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 9 Aug 2010 18:52:27 +0000 (11:52 -0700)
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>
drivers/net/fec_mxc.c

index 57f89a37a6c9c1ec813dfa45c8f1ff82455a05ff..6b801ce24aa97102313ea5a1adaf791a89e2bb5b 100644 (file)
@@ -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);