diff options
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2022-01-13 09:55:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-25 16:19:41 +0100 |
commit | 07874db4b30a2bf872ac0ec2ff7fe224c8a3a9f5 (patch) | |
tree | 7af2f3e5ad1208304e5472e4d4e829fd556fcb27 /drivers/staging/wfx/data_tx.h | |
parent | 9d3586feb25c85e2ccc4f4b13fad5f2434fbb09e (diff) |
staging: wfx: prefix structs tx_policy and hwbus_ops with wfx_
All the types related to a driver should use the same prefix.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20220113085524.1110708-20-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx/data_tx.h')
-rw-r--r-- | drivers/staging/wfx/data_tx.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/wfx/data_tx.h b/drivers/staging/wfx/data_tx.h index c901a03ee4d8..040f731e62ae 100644 --- a/drivers/staging/wfx/data_tx.h +++ b/drivers/staging/wfx/data_tx.h @@ -18,15 +18,15 @@ struct wfx_tx_priv; struct wfx_dev; struct wfx_vif; -struct tx_policy { +struct wfx_tx_policy { struct list_head link; int usage_count; u8 rates[12]; bool uploaded; }; -struct tx_policy_cache { - struct tx_policy cache[HIF_TX_RETRY_POLICY_MAX]; +struct wfx_tx_policy_cache { + struct wfx_tx_policy cache[HIF_TX_RETRY_POLICY_MAX]; /* FIXME: use a trees and drop hash from tx_policy */ struct list_head used; struct list_head free; @@ -59,8 +59,8 @@ static inline struct wfx_tx_priv *wfx_skb_tx_priv(struct sk_buff *skb) static inline struct wfx_hif_req_tx *wfx_skb_txreq(struct sk_buff *skb) { - struct wfx_hif_msg *hif = (struct hif_msg *)skb->data; - struct wfx_hif_req_tx *req = (struct hif_req_tx *)hif->body; + struct wfx_hif_msg *hif = (struct wfx_hif_msg *)skb->data; + struct wfx_hif_req_tx *req = (struct wfx_hif_req_tx *)hif->body; return req; } |