diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-04-16 02:24:03 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:47:13 -0400 |
commit | 7f1f5a0060e377ff6a15903487b39223e12b8568 (patch) | |
tree | 786e3960018d685473d7c14f6c48b8fc580344f2 /drivers/net/wireless/ath/ath9k/wmi.c | |
parent | 6ce34ec11c6297562e70e27c57a24cd27d4cd2b1 (diff) |
ath9k_htc: Fix sparse endian warnings
This patch fixes a bunch of endian issues that
were exposed by sparse. It's a miracle that the driver
worked at all till now.
The Lord be praised.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/wmi.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/wmi.c b/drivers/net/wireless/ath/ath9k/wmi.c index afbf63daf55..dc6c6fc2e09 100644 --- a/drivers/net/wireless/ath/ath9k/wmi.c +++ b/drivers/net/wireless/ath/ath9k/wmi.c | |||
@@ -129,7 +129,7 @@ void ath9k_wmi_tasklet(unsigned long data) | |||
129 | void *wmi_event; | 129 | void *wmi_event; |
130 | unsigned long flags; | 130 | unsigned long flags; |
131 | #ifdef CONFIG_ATH9K_HTC_DEBUGFS | 131 | #ifdef CONFIG_ATH9K_HTC_DEBUGFS |
132 | u32 txrate; | 132 | __be32 txrate; |
133 | #endif | 133 | #endif |
134 | 134 | ||
135 | spin_lock_irqsave(&priv->wmi->wmi_lock, flags); | 135 | spin_lock_irqsave(&priv->wmi->wmi_lock, flags); |