]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] PCI: make eepro100 driver use pci_name() instead of dev.name.
authorGreg Kroah-Hartman <greg@kroah.com>
Wed, 6 Aug 2003 08:41:35 +0000 (01:41 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 6 Aug 2003 08:41:35 +0000 (01:41 -0700)
drivers/net/eepro100.c

index 96d6f958a4ea2016627c018f8211ef45ee2bd9db..446d4e9038a2859857afebd2c1d2318752233135 100644 (file)
@@ -743,7 +743,7 @@ static int __devinit speedo_found1(struct pci_dev *pdev,
        if (eeprom[3] & 0x0100)
                product = "OEM i82557/i82558 10/100 Ethernet";
        else
-               product = pdev->dev.name;
+               product = pci_name(pdev);
 
        printk(KERN_INFO "%s: %s, ", dev->name, product);