diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2010-09-15 19:31:51 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-21 11:05:00 -0400 |
commit | 15cea99306ae14ce5f7c3d3989bcc17202e2b0be (patch) | |
tree | 4755cdb83ca470dfa44b02f6f34aa8fa1c3454c6 /include/linux/wl12xx.h | |
parent | 09cecc340b3b4d9960b039c0f576548bbf857f5a (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>
Diffstat (limited to 'include/linux/wl12xx.h')
-rw-r--r-- | include/linux/wl12xx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/wl12xx.h b/include/linux/wl12xx.h index bd70563107fa..95deae3968f4 100644 --- a/include/linux/wl12xx.h +++ b/include/linux/wl12xx.h | |||
@@ -29,6 +29,7 @@ struct wl12xx_platform_data { | |||
29 | /* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */ | 29 | /* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */ |
30 | int irq; | 30 | int irq; |
31 | bool use_eeprom; | 31 | bool use_eeprom; |
32 | int board_ref_clock; | ||
32 | }; | 33 | }; |
33 | 34 | ||
34 | int wl12xx_set_platform_data(const struct wl12xx_platform_data *data); | 35 | int wl12xx_set_platform_data(const struct wl12xx_platform_data *data); |