9
0
Fork 0

ethernet driver: Do not overwrite devname

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2009-07-21 18:36:47 +02:00
parent 58f5a971fa
commit 8b09e24a36
2 changed files with 0 additions and 4 deletions

View File

@ -573,8 +573,6 @@ static int fec_probe(struct device_d *dev)
fec->xcv_type = pdata->xcv_type;
sprintf(dev->name, "FEC ETHERNET");
if (fec->xcv_type != SEVENWIRE) {
fec->miiphy.read = fec_miiphy_read;
fec->miiphy.write = fec_miiphy_write;

View File

@ -682,8 +682,6 @@ int mpc5xxx_fec_probe(struct device_d *dev)
fec->xcv_type = pdata->xcv_type;
sprintf(dev->name, "FEC ETHERNET");
loadtask(0, 2);
if (fec->xcv_type != SEVENWIRE) {