aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ath9k_platform.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2011-04-19 19:29:01 +0530
committerJohn W. Linville <linville@tuxdriver.com>2011-04-25 14:50:08 -0400
commitf2f5f2a1cedc803a5a517557d436e6cb10c007de (patch)
tree6386a001a22615d8591179cf7204f1a902d65f1f /include/linux/ath9k_platform.h
parentath9k_hw: Take care of few host interface register changes for AR9340 (diff)
downloadlinux-dev-f2f5f2a1cedc803a5a517557d436e6cb10c007de.tar.xz
linux-dev-f2f5f2a1cedc803a5a517557d436e6cb10c007de.zip
ath9k_hw: Get AHB clock information from ath9k_platform_data
Add a bool in ath9k_platform_data to pass AHB clock speed information. Driver needs this to configure PLL on some SOCs. Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/ath9k_platform.h')
-rw-r--r--include/linux/ath9k_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h
index 020387a114e3..60a7c49dcb49 100644
--- a/include/linux/ath9k_platform.h
+++ b/include/linux/ath9k_platform.h
@@ -28,6 +28,8 @@ struct ath9k_platform_data {
int led_pin;
u32 gpio_mask;
u32 gpio_val;
+
+ bool is_clk_25mhz;
};
#endif /* _LINUX_ATH9K_PLATFORM_H */