com20020: convert to net_devic_ops

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Stephen Hemminger
2009-01-09 13:01:10 +00:00
committed by David S. Miller
parent bca5b8939f
commit a1799af4d7
4 changed files with 14 additions and 2 deletions

View File

@@ -72,6 +72,9 @@ static int __devinit com20020pci_probe(struct pci_dev *pdev, const struct pci_de
dev = alloc_arcdev(device);
if (!dev)
return -ENOMEM;
dev->netdev_ops = &com20020_netdev_ops;
lp = netdev_priv(dev);
pci_set_drvdata(pdev, dev);