summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/swap.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2016-04-20 19:46:16 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2016-04-20 20:00:30 +0300
commit1fe63c9ca8913eb7af6c428cf81abad29e0bc9d6 (patch)
tree1f5a43e1853701e450622c3e8a27c8c4c9e1dcc7 /drivers/net/wireless/ath/ath10k/swap.h
parent9dfe240b4d684f17efa861e92e45dc949b0049ed (diff)
ath10k: remove enum ath10k_swap_code_seg_bin_type
It's not needed for anything so just get rid of it. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/swap.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/swap.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/ath10k/swap.h b/drivers/net/wireless/ath/ath10k/swap.h
index 5c89952dd20f..36991c7b07a0 100644
--- a/drivers/net/wireless/ath/ath10k/swap.h
+++ b/drivers/net/wireless/ath/ath10k/swap.h
@@ -39,12 +39,6 @@ union ath10k_swap_code_seg_item {
struct ath10k_swap_code_seg_tail tail;
} __packed;
-enum ath10k_swap_code_seg_bin_type {
- ATH10K_SWAP_CODE_SEG_BIN_TYPE_OTP,
- ATH10K_SWAP_CODE_SEG_BIN_TYPE_FW,
- ATH10K_SWAP_CODE_SEG_BIN_TYPE_UTF,
-};
-
struct ath10k_swap_code_seg_hw_info {
/* Swap binary image size */
__le32 swap_size;
@@ -64,8 +58,7 @@ struct ath10k_swap_code_seg_info {
dma_addr_t paddr[ATH10K_SWAP_CODE_SEG_NUM_SUPPORTED];
};
-int ath10k_swap_code_seg_configure(struct ath10k *ar,
- enum ath10k_swap_code_seg_bin_type type);
+int ath10k_swap_code_seg_configure(struct ath10k *ar);
void ath10k_swap_code_seg_release(struct ath10k *ar);
int ath10k_swap_code_seg_init(struct ath10k *ar);