aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl1251/wl1251.h
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2010-11-03 18:13:47 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 13:27:00 -0500
commitcb7bbc7a5535ab2333915b83391e1d846a0914df (patch)
tree07d88b56c87b9a1ff2764b25d47c102169d665ca /drivers/net/wireless/wl1251/wl1251.h
parentf81c1f48384d398dbe8f6c5b10377c7158086791 (diff)
wl1251: add power callback to wl1251_if_operations
Call interface specific power callback before calling board specific one. Also allow that callback to fail. This is how it's done for wl1271 and will be used for runtime_pm support. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Acked-by: Kalle Valo <kvalo@adurom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl1251/wl1251.h')
-rw-r--r--drivers/net/wireless/wl1251/wl1251.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl1251/wl1251.h b/drivers/net/wireless/wl1251/wl1251.h
index e113d4c1fb35..13fbeeccf609 100644
--- a/drivers/net/wireless/wl1251/wl1251.h
+++ b/drivers/net/wireless/wl1251/wl1251.h
@@ -256,6 +256,7 @@ struct wl1251_if_operations {
256 void (*write)(struct wl1251 *wl, int addr, void *buf, size_t len); 256 void (*write)(struct wl1251 *wl, int addr, void *buf, size_t len);
257 void (*read_elp)(struct wl1251 *wl, int addr, u32 *val); 257 void (*read_elp)(struct wl1251 *wl, int addr, u32 *val);
258 void (*write_elp)(struct wl1251 *wl, int addr, u32 val); 258 void (*write_elp)(struct wl1251 *wl, int addr, u32 val);
259 int (*power)(struct wl1251 *wl, bool enable);
259 void (*reset)(struct wl1251 *wl); 260 void (*reset)(struct wl1251 *wl);
260 void (*enable_irq)(struct wl1251 *wl); 261 void (*enable_irq)(struct wl1251 *wl);
261 void (*disable_irq)(struct wl1251 *wl); 262 void (*disable_irq)(struct wl1251 *wl);