aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco/orinoco.h
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2009-06-18 18:21:30 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 15:01:46 -0400
commit6415f7df10573bf1ec42644f42bef565127114a1 (patch)
tree6aa981f181010faca22989ffd70ef89b0d32ff07 /drivers/net/wireless/orinoco/orinoco.h
parentef96b5c9ed6ba4b45fd4cf45810c34978bb8d8bb (diff)
orinoco: Handle suspend/restore in core driver
Each device does almost exactly the same things on suspend and resume when upping and downing the interface. So move this logic into a common routine. Signed-off-by: David Kilroy <kilroyd@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/orinoco.h')
-rw-r--r--drivers/net/wireless/orinoco/orinoco.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco.h b/drivers/net/wireless/orinoco/orinoco.h
index 45aa616eb664..4ee85f8f6bc7 100644
--- a/drivers/net/wireless/orinoco/orinoco.h
+++ b/drivers/net/wireless/orinoco/orinoco.h
@@ -197,9 +197,8 @@ extern int orinoco_if_add(struct orinoco_private *priv,
197 unsigned long base_addr, 197 unsigned long base_addr,
198 unsigned int irq); 198 unsigned int irq);
199extern void orinoco_if_del(struct orinoco_private *priv); 199extern void orinoco_if_del(struct orinoco_private *priv);
200extern int __orinoco_up(struct orinoco_private *priv); 200extern int orinoco_up(struct orinoco_private *priv);
201extern int __orinoco_down(struct orinoco_private *priv); 201extern void orinoco_down(struct orinoco_private *priv);
202extern int orinoco_reinit_firmware(struct orinoco_private *priv);
203extern irqreturn_t orinoco_interrupt(int irq, void *dev_id); 202extern irqreturn_t orinoco_interrupt(int irq, void *dev_id);
204 203
205/********************************************************************/ 204/********************************************************************/