diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-31 07:53:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-31 07:53:43 -0400 |
commit | 7bee946358c3cb957d4aa648fc5ab3cad0b232d0 (patch) | |
tree | 693061ebde2abc35ecc846e5084630d7225aaaff /drivers/net/tokenring/tmspci.c | |
parent | d820ac4c2fa881079e6b689d2098adce337558ae (diff) | |
parent | 15f7176eb1cccec0a332541285ee752b935c1c85 (diff) |
Merge branch 'linus' into locking-for-linus
Conflicts:
lib/Kconfig.debug
Diffstat (limited to 'drivers/net/tokenring/tmspci.c')
-rw-r--r-- | drivers/net/tokenring/tmspci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tokenring/tmspci.c b/drivers/net/tokenring/tmspci.c index e2150b3c83d9..f92fe86fdcae 100644 --- a/drivers/net/tokenring/tmspci.c +++ b/drivers/net/tokenring/tmspci.c | |||
@@ -152,13 +152,13 @@ static int __devinit tms_pci_attach(struct pci_dev *pdev, const struct pci_devic | |||
152 | 152 | ||
153 | tp->tmspriv = cardinfo; | 153 | tp->tmspriv = cardinfo; |
154 | 154 | ||
155 | dev->netdev_ops = &tms380tr_netdev_ops; | ||
156 | |||
155 | ret = request_irq(pdev->irq, tms380tr_interrupt, IRQF_SHARED, | 157 | ret = request_irq(pdev->irq, tms380tr_interrupt, IRQF_SHARED, |
156 | dev->name, dev); | 158 | dev->name, dev); |
157 | if (ret) | 159 | if (ret) |
158 | goto err_out_tmsdev; | 160 | goto err_out_tmsdev; |
159 | 161 | ||
160 | dev->open = tms380tr_open; | ||
161 | dev->stop = tms380tr_close; | ||
162 | pci_set_drvdata(pdev, dev); | 162 | pci_set_drvdata(pdev, dev); |
163 | SET_NETDEV_DEV(dev, &pdev->dev); | 163 | SET_NETDEV_DEV(dev, &pdev->dev); |
164 | 164 | ||