summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPanduranga Mallireddy <x0125717@ti.com>2010-11-13 00:51:33 +0530
committerSebastien Jan <s-jan@ti.com>2011-01-11 17:33:27 +0100
commitf82d9660d7746a3ece76de3ea713ef477a2bbcdf (patch)
treea4e392ac69d0c63dadfc7bfae1545ba78a65d95d /include
parentebc55ba0802e14566612f700c0f7072f9eb10606 (diff)
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> Signed-off-by: Panduranga Mallireddy <x0125717@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/wl12xx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/wl12xx.h b/include/linux/wl12xx.h
index 93300f52d811..530ea649b29e 100644
--- a/include/linux/wl12xx.h
+++ b/include/linux/wl12xx.h
@@ -29,6 +29,7 @@ struct wl12xx_platform_data {
/* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */
int irq;
bool use_eeprom;
+ int board_ref_clock;
};
int wl12xx_set_platform_data(const struct wl12xx_platform_data *data);