summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs
diff options
context:
space:
mode:
authorHimadri Pandya <himadri18.07@gmail.com>2019-03-21 23:44:04 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-21 20:11:36 +0100
commitbc8212ef3d2a391405175c2a73abbe237495f9d6 (patch)
tree2381b76b887b6aee535a10b8908da8111ef5e6ac /drivers/staging/rtl8723bs
parentcc746197159b18c45e7921de105ef076a19e05f6 (diff)
downloadlinux-bc8212ef3d2a391405175c2a73abbe237495f9d6.tar.bz2
staging: rtl8723bs: include: remove typedef for struct pno_scan_channel_info
Remove typedef for struct pno_scan_channel_info as The Linux kernel coding style guidelines discourage the use of typedefs for struct types. Signed-off-by: Himadri Pandya <himadri18.07@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r--drivers/staging/rtl8723bs/include/rtw_pwrctrl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
index 8912182e229f..3ea04bff0cbd 100644
--- a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
+++ b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
@@ -179,13 +179,13 @@ struct pno_ssid_list {
struct pno_ssid node[MAX_PNO_LIST_COUNT];
};
-typedef struct pno_scan_channel_info
+struct pno_scan_channel_info
{
u8 channel;
u8 tx_power;
u8 timeout;
u8 active; /* set 1 means active scan, or pasivite scan. */
-}pno_scan_channel_info_t;
+};
typedef struct pno_scan_info
{
@@ -198,7 +198,7 @@ typedef struct pno_scan_info
u8 orig_ch; /* original channel */
u8 channel_num; /* number of channel */
u64 rfe_type; /* rfe_type && 0x00000000000000ff */
- pno_scan_channel_info_t ssid_channel_info[MAX_SCAN_LIST_COUNT];
+ struct pno_scan_channel_info ssid_channel_info[MAX_SCAN_LIST_COUNT];
}pno_scan_info_t;
#endif /* CONFIG_PNO_SUPPORT */