diff options
| author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2022-01-13 09:55:11 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-25 16:19:41 +0100 |
| commit | 9d3586feb25c85e2ccc4f4b13fad5f2434fbb09e (patch) | |
| tree | 5e5ed7654cdb8236d583e72057e00af37f428665 /drivers/staging/wfx/debug.c | |
| parent | staging: wfx: prefix tx_policy_is_equal() with wfx_ (diff) | |
| download | linux-9d3586feb25c85e2ccc4f4b13fad5f2434fbb09e.tar.gz linux-9d3586feb25c85e2ccc4f4b13fad5f2434fbb09e.zip | |
staging: wfx: prefix structs hif_* 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-19-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx/debug.c')
| -rw-r--r-- | drivers/staging/wfx/debug.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/wfx/debug.c b/drivers/staging/wfx/debug.c index 9324248b1d20..f0796eb2afff 100644 --- a/drivers/staging/wfx/debug.c +++ b/drivers/staging/wfx/debug.c @@ -63,7 +63,7 @@ static int wfx_counters_show(struct seq_file *seq, void *v) { int ret, i; struct wfx_dev *wdev = seq->private; - struct hif_mib_extended_count_table counters[3]; + struct wfx_hif_mib_extended_count_table counters[3]; for (i = 0; i < ARRAY_SIZE(counters); i++) { ret = wfx_hif_get_counters_table(wdev, i, counters + i); @@ -153,7 +153,7 @@ static const char * const channel_names[] = { static int wfx_rx_stats_show(struct seq_file *seq, void *v) { struct wfx_dev *wdev = seq->private; - struct hif_rx_stats *st = &wdev->rx_stats; + struct wfx_hif_rx_stats *st = &wdev->rx_stats; int i; mutex_lock(&wdev->rx_stats_lock); @@ -185,7 +185,7 @@ DEFINE_SHOW_ATTRIBUTE(wfx_rx_stats); static int wfx_tx_power_loop_show(struct seq_file *seq, void *v) { struct wfx_dev *wdev = seq->private; - struct hif_tx_power_loop_info *st = &wdev->tx_power_loop_info; + struct wfx_hif_tx_power_loop_info *st = &wdev->tx_power_loop_info; int tmp; mutex_lock(&wdev->tx_power_loop_info_lock); @@ -247,13 +247,13 @@ static ssize_t wfx_send_hif_msg_write(struct file *file, { struct dbgfs_hif_msg *context = file->private_data; struct wfx_dev *wdev = context->wdev; - struct hif_msg *request; + struct wfx_hif_msg *request; if (completion_done(&context->complete)) { dev_dbg(wdev->dev, "read previous result before start a new one\n"); return -EBUSY; } - if (count < sizeof(struct hif_msg)) + if (count < sizeof(struct wfx_hif_msg)) return -EINVAL; /* wfx_cmd_send() checks that reply buffer is wide enough, but does not |
