summaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring/tmspci.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2009-01-09 14:01:25 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-21 23:02:30 +0100
commitf1608f859a3fba95a3b0ae70f2528b81c6928d77 (patch)
tree4cb19e2f821c5c868c21b1e63ba208b21fd6c62a /drivers/net/tokenring/tmspci.c
parentolympic: convert to net_device_ops (diff)
downloadlinux-f1608f859a3fba95a3b0ae70f2528b81c6928d77.tar.xz
linux-f1608f859a3fba95a3b0ae70f2528b81c6928d77.zip
tms380tr: convert to net_device_ops
Conver this related group of drivers to new API Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tokenring/tmspci.c')
-rw-r--r--drivers/net/tokenring/tmspci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tokenring/tmspci.c b/drivers/net/tokenring/tmspci.c
index 5f601773c260..b397e8785d6d 100644
--- a/drivers/net/tokenring/tmspci.c
+++ b/drivers/net/tokenring/tmspci.c
@@ -157,8 +157,8 @@ static int __devinit tms_pci_attach(struct pci_dev *pdev, const struct pci_devic
tp->tmspriv = cardinfo;
- dev->open = tms380tr_open;
- dev->stop = tms380tr_close;
+ dev->netdev_ops = &tms380tr_netdev_ops;
+
pci_set_drvdata(pdev, dev);
SET_NETDEV_DEV(dev, &pdev->dev);