summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorOhad Ben-Cohen2010-09-16 01:31:51 +0200
committerJohn W. Linville2010-09-21 17:05:00 +0200
commit15cea99306ae14ce5f7c3d3989bcc17202e2b0be (patch)
tree4755cdb83ca470dfa44b02f6f34aa8fa1c3454c6 /drivers/net/wireless/wl12xx/wl1271.h
parentwl1271: take irq info from private board data (diff)
downloadkernel-qcow2-linux-15cea99306ae14ce5f7c3d3989bcc17202e2b0be.tar.gz
kernel-qcow2-linux-15cea99306ae14ce5f7c3d3989bcc17202e2b0be.tar.xz
kernel-qcow2-linux-15cea99306ae14ce5f7c3d3989bcc17202e2b0be.zip
wl1271: make ref_clock configurable by board
The wl1271 device is using a reference clock that may change between board to board. Make the ref_clock parameter configurable by board settings instead of having a hard coded value in the sources. Signed-off-by: Ohad Ben-Cohen <ohad@wizery.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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index faa5925efe30..4134f4495b95 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -330,6 +330,7 @@ struct wl1271 {
void (*set_power)(bool enable);
int irq;
+ int ref_clock;
spinlock_t wl_lock;