aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco/fw.c
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2010-05-01 09:05:38 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-05-03 14:53:06 -0400
commitb42f2074dedef559ecf72dce61a6501f9f9b273a (patch)
treed75bfd6c7e6db6fd5e81310b3326d2aad5829041 /drivers/net/wireless/orinoco/fw.c
parentf7c65594f7148b778f41d591a701e94bb22428e4 (diff)
orinoco: add hermes_ops
Pave the way for introducing USB alternative functions. Force callers to dereference ops instead of providing wrappers. Signed-off-by: David Kilroy <kilroyd@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/fw.c')
-rw-r--r--drivers/net/wireless/orinoco/fw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/orinoco/fw.c b/drivers/net/wireless/orinoco/fw.c
index cfa72962052b..07c79e5de32d 100644
--- a/drivers/net/wireless/orinoco/fw.c
+++ b/drivers/net/wireless/orinoco/fw.c
@@ -259,7 +259,7 @@ symbol_dl_image(struct orinoco_private *priv, const struct fw_info *fw,
259 } 259 }
260 260
261 /* Reset hermes chip and make sure it responds */ 261 /* Reset hermes chip and make sure it responds */
262 ret = hermes_init(hw); 262 ret = hw->ops->init(hw);
263 263
264 /* hermes_reset() should return 0 with the secondary firmware */ 264 /* hermes_reset() should return 0 with the secondary firmware */
265 if (secondary && ret != 0) 265 if (secondary && ret != 0)