From: Stefano Babic Date: Tue, 20 Jul 2010 05:57:07 +0000 (+0200) Subject: net,fec: Shorten device name as done for other drivers X-Git-Tag: v2010.09-rc1~29^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f699fe1e1fa6e53fe52853acea4976aa3303274c;p=u-boot 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 Signed-off-by: Ben Warren --- diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 57f89a37a6..6b801ce24a 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);