diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2009-01-09 08:01:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 17:02:20 -0500 |
commit | a1799af4d7deefccdaa9d222a886fa1373dbb49a (patch) | |
tree | d9277bf2fb817f3c102be2d68a9098d8028cec56 /drivers/net/arcnet/com20020-pci.c | |
parent | bca5b8939f107e498b3fdc92b3a2d286a868d347 (diff) |
com20020: convert to net_devic_ops
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arcnet/com20020-pci.c')
-rw-r--r-- | drivers/net/arcnet/com20020-pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/arcnet/com20020-pci.c b/drivers/net/arcnet/com20020-pci.c index 8b51f632581d..dbf4de39754d 100644 --- a/drivers/net/arcnet/com20020-pci.c +++ b/drivers/net/arcnet/com20020-pci.c | |||
@@ -72,6 +72,9 @@ static int __devinit com20020pci_probe(struct pci_dev *pdev, const struct pci_de | |||
72 | dev = alloc_arcdev(device); | 72 | dev = alloc_arcdev(device); |
73 | if (!dev) | 73 | if (!dev) |
74 | return -ENOMEM; | 74 | return -ENOMEM; |
75 | |||
76 | dev->netdev_ops = &com20020_netdev_ops; | ||
77 | |||
75 | lp = netdev_priv(dev); | 78 | lp = netdev_priv(dev); |
76 | 79 | ||
77 | pci_set_drvdata(pdev, dev); | 80 | pci_set_drvdata(pdev, dev); |