Commit 7d3dd5ca authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] PCI: make eepro100 driver use pci_name() instead of dev.name.

parent 806669fc
...@@ -743,7 +743,7 @@ static int __devinit speedo_found1(struct pci_dev *pdev, ...@@ -743,7 +743,7 @@ static int __devinit speedo_found1(struct pci_dev *pdev,
if (eeprom[3] & 0x0100) if (eeprom[3] & 0x0100)
product = "OEM i82557/i82558 10/100 Ethernet"; product = "OEM i82557/i82558 10/100 Ethernet";
else else
product = pdev->dev.name; product = pci_name(pdev);
printk(KERN_INFO "%s: %s, ", dev->name, product); printk(KERN_INFO "%s: %s, ", dev->name, product);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment