diff options
Diffstat (limited to 'drivers/net/wireless/orinoco/orinoco_cs.c')
-rw-r--r-- | drivers/net/wireless/orinoco/orinoco_cs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco_cs.c b/drivers/net/wireless/orinoco/orinoco_cs.c index fdc96137917..f99b13ba92b 100644 --- a/drivers/net/wireless/orinoco/orinoco_cs.c +++ b/drivers/net/wireless/orinoco/orinoco_cs.c | |||
@@ -296,7 +296,7 @@ orinoco_cs_config(struct pcmcia_device *link) | |||
296 | 296 | ||
297 | /* Register an interface with the stack */ | 297 | /* Register an interface with the stack */ |
298 | if (orinoco_if_add(priv, link->io.BasePort1, | 298 | if (orinoco_if_add(priv, link->io.BasePort1, |
299 | link->irq.AssignedIRQ) != 0) { | 299 | link->irq.AssignedIRQ, NULL) != 0) { |
300 | printk(KERN_ERR PFX "orinoco_if_add() failed\n"); | 300 | printk(KERN_ERR PFX "orinoco_if_add() failed\n"); |
301 | goto failed; | 301 | goto failed; |
302 | } | 302 | } |
@@ -327,9 +327,9 @@ orinoco_cs_release(struct pcmcia_device *link) | |||
327 | 327 | ||
328 | /* We're committed to taking the device away now, so mark the | 328 | /* We're committed to taking the device away now, so mark the |
329 | * hardware as unavailable */ | 329 | * hardware as unavailable */ |
330 | spin_lock_irqsave(&priv->lock, flags); | 330 | priv->hw.ops->lock_irqsave(&priv->lock, &flags); |
331 | priv->hw_unavailable++; | 331 | priv->hw_unavailable++; |
332 | spin_unlock_irqrestore(&priv->lock, flags); | 332 | priv->hw.ops->unlock_irqrestore(&priv->lock, &flags); |
333 | 333 | ||
334 | pcmcia_disable_device(link); | 334 | pcmcia_disable_device(link); |
335 | if (priv->hw.iobase) | 335 | if (priv->hw.iobase) |