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:
committed by
David S. Miller
parent
bca5b8939f
commit
a1799af4d7
@@ -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);
|
||||
|
Reference in New Issue
Block a user