diff options
author | Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> | 2011-07-21 02:30:49 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-08-09 12:45:22 -0400 |
commit | 2865785e96b5990db6928126996fa246d399ec6d (patch) | |
tree | 2480e14876061fa71e04578a63d07f09fba754a0 /drivers | |
parent | 37ca63350709c9bdb273afda6a19f61b88572237 (diff) |
ath6kl: Cleanup void *parent_dev in struct wmi
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/init.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c index d574d08f9863..1d6294f9da24 100644 --- a/drivers/net/wireless/ath/ath6kl/init.c +++ b/drivers/net/wireless/ath/ath6kl/init.c | |||
@@ -1053,7 +1053,7 @@ static int ath6kl_init(struct net_device *dev) | |||
1053 | 1053 | ||
1054 | /* Indicate that WMI is enabled (although not ready yet) */ | 1054 | /* Indicate that WMI is enabled (although not ready yet) */ |
1055 | set_bit(WMI_ENABLED, &ar->flag); | 1055 | set_bit(WMI_ENABLED, &ar->flag); |
1056 | ar->wmi = ath6kl_wmi_init((void *) ar); | 1056 | ar->wmi = ath6kl_wmi_init(ar); |
1057 | if (!ar->wmi) { | 1057 | if (!ar->wmi) { |
1058 | ath6kl_err("failed to initialize wmi\n"); | 1058 | ath6kl_err("failed to initialize wmi\n"); |
1059 | status = -EIO; | 1059 | status = -EIO; |
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c index 6e4febf2e229..9b06a82cad7a 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.c +++ b/drivers/net/wireless/ath/ath6kl/wmi.c | |||
@@ -2724,7 +2724,7 @@ static void ath6kl_wmi_qos_state_init(struct wmi *wmi) | |||
2724 | spin_unlock_bh(&wmi->lock); | 2724 | spin_unlock_bh(&wmi->lock); |
2725 | } | 2725 | } |
2726 | 2726 | ||
2727 | void *ath6kl_wmi_init(void *dev) | 2727 | void *ath6kl_wmi_init(struct ath6kl *dev) |
2728 | { | 2728 | { |
2729 | struct wmi *wmi; | 2729 | struct wmi *wmi; |
2730 | 2730 | ||
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.h b/drivers/net/wireless/ath/ath6kl/wmi.h index bbaa7049f4a8..afc9be914088 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.h +++ b/drivers/net/wireless/ath/ath6kl/wmi.h | |||
@@ -114,7 +114,7 @@ struct wmi { | |||
114 | bool ready; | 114 | bool ready; |
115 | u16 stream_exist_for_ac[WMM_NUM_AC]; | 115 | u16 stream_exist_for_ac[WMM_NUM_AC]; |
116 | u8 fat_pipe_exist; | 116 | u8 fat_pipe_exist; |
117 | void *parent_dev; | 117 | struct ath6kl *parent_dev; |
118 | struct wmi_stats stat; | 118 | struct wmi_stats stat; |
119 | struct ath6kl_node_table scan_table; | 119 | struct ath6kl_node_table scan_table; |
120 | u8 bssid[ETH_ALEN]; | 120 | u8 bssid[ETH_ALEN]; |
@@ -2018,7 +2018,7 @@ int ath6kl_wmi_set_pvb_cmd(struct wmi *wmi, u16 aid, bool flag); | |||
2018 | int ath6kl_wmi_set_rx_frame_format_cmd(struct wmi *wmi, u8 rx_meta_version, | 2018 | int ath6kl_wmi_set_rx_frame_format_cmd(struct wmi *wmi, u8 rx_meta_version, |
2019 | bool rx_dot11_hdr, bool defrag_on_host); | 2019 | bool rx_dot11_hdr, bool defrag_on_host); |
2020 | 2020 | ||
2021 | void *ath6kl_wmi_init(void *devt); | 2021 | void *ath6kl_wmi_init(struct ath6kl *devt); |
2022 | void ath6kl_wmi_shutdown(struct wmi *wmi); | 2022 | void ath6kl_wmi_shutdown(struct wmi *wmi); |
2023 | 2023 | ||
2024 | #endif /* WMI_H */ | 2024 | #endif /* WMI_H */ |