diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2010-09-15 19:22:04 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-21 11:04:56 -0400 |
commit | 2cc78ff78c0af502b040d4527212e29e02d3231d (patch) | |
tree | f056210964e0d5799027f900dec47aa10572599a /drivers/net/wireless/wl12xx/wl1271.h | |
parent | c1f9a095600e07fefe64eb94eb711f410100824a (diff) |
wl1271: propagate set_power's return value
Make it possible for the set power method to indicate a
success/failure return value. This is needed to support
more complex power on/off operations such as SDIO
power manipulations.
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h index dd3cee6ea5bb..faa5925efe30 100644 --- a/drivers/net/wireless/wl12xx/wl1271.h +++ b/drivers/net/wireless/wl12xx/wl1271.h | |||
@@ -313,7 +313,7 @@ struct wl1271_if_operations { | |||
313 | bool fixed); | 313 | bool fixed); |
314 | void (*reset)(struct wl1271 *wl); | 314 | void (*reset)(struct wl1271 *wl); |
315 | void (*init)(struct wl1271 *wl); | 315 | void (*init)(struct wl1271 *wl); |
316 | void (*power)(struct wl1271 *wl, bool enable); | 316 | int (*power)(struct wl1271 *wl, bool enable); |
317 | struct device* (*dev)(struct wl1271 *wl); | 317 | struct device* (*dev)(struct wl1271 *wl); |
318 | void (*enable_irq)(struct wl1271 *wl); | 318 | void (*enable_irq)(struct wl1271 *wl); |
319 | void (*disable_irq)(struct wl1271 *wl); | 319 | void (*disable_irq)(struct wl1271 *wl); |