aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ne2k-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ne2k-pci.c')
-rw-r--r--drivers/net/ne2k-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ne2k-pci.c b/drivers/net/ne2k-pci.c
index 12a7d6de1411..ea22ae268a5d 100644
--- a/drivers/net/ne2k-pci.c
+++ b/drivers/net/ne2k-pci.c
@@ -625,7 +625,7 @@ static void ne2k_pci_block_output(struct net_device *dev, int count,
625static void ne2k_pci_get_drvinfo(struct net_device *dev, 625static void ne2k_pci_get_drvinfo(struct net_device *dev,
626 struct ethtool_drvinfo *info) 626 struct ethtool_drvinfo *info)
627{ 627{
628 struct ei_device *ei = dev->priv; 628 struct ei_device *ei = netdev_priv(dev);
629 struct pci_dev *pci_dev = (struct pci_dev *) ei->priv; 629 struct pci_dev *pci_dev = (struct pci_dev *) ei->priv;
630 630
631 strcpy(info->driver, DRV_NAME); 631 strcpy(info->driver, DRV_NAME);