aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wlan_cfg.h
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-09-25 11:53:33 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-25 20:53:57 +0200
commitcb6f1f576ef28750e33d3769b179ee0865cee371 (patch)
tree28fcf5c71b6fa2e0dcaa034dace2ff983e9895d6 /drivers/staging/wilc1000/wilc_wlan_cfg.h
parentstaging: wilc1000: refactor code to avoid static variables for config parameters (diff)
downloadlinux-dev-cb6f1f576ef28750e33d3769b179ee0865cee371.tar.xz
linux-dev-cb6f1f576ef28750e33d3769b179ee0865cee371.zip
staging: wilc1000: rename 'wilc_mac_cfg' struct to 'wilc_cfg_str_vals'
Rename 'wilc_mac_cfg' struct to 'wilc_cfg_str_vals' as its more appropriate for structure to store the values of string configuration. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan_cfg.h')
-rw-r--r--drivers/staging/wilc1000/wilc_wlan_cfg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.h b/drivers/staging/wilc1000/wilc_wlan_cfg.h
index 176eef1a2bf4..e5ca6cea0682 100644
--- a/drivers/staging/wilc1000/wilc_wlan_cfg.h
+++ b/drivers/staging/wilc1000/wilc_wlan_cfg.h
@@ -27,7 +27,7 @@ struct wilc_cfg_str {
u8 *str;
};
-struct wilc_mac_cfg {
+struct wilc_cfg_str_vals {
u8 mac_address[7];
u8 firmware_version[129];
u8 assoc_rsp[256];
@@ -38,7 +38,7 @@ struct wilc_cfg {
struct wilc_cfg_hword *hw;
struct wilc_cfg_word *w;
struct wilc_cfg_str *s;
- struct wilc_mac_cfg *str_vals;
+ struct wilc_cfg_str_vals *str_vals;
};
struct wilc;