staging: rtl8723bs: remove typedefs in hal_btcoex.h
authorMarco Cesati <marcocesati@gmail.com>
Fri, 12 Mar 2021 08:26:35 +0000 (09:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Mar 2021 16:25:41 +0000 (17:25 +0100)
This commit fixes the following checkpatch.pl warning:

    WARNING: do not add new typedefs
    #14: FILE: include/hal_btcoex.h:14:
    +typedef struct _BT_COEXIST {

Signed-off-by: Marco Cesati <marco.cesati@gmail.com>
Link: https://lore.kernel.org/r/20210312082638.25512-31-marco.cesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/hal_btcoex.h
drivers/staging/rtl8723bs/include/hal_data.h

index 29318b4..fb8bc2c 100644 (file)
 
 /*  Some variables can't get from outsrc BT-Coex, */
 /*  so we need to save here */
-typedef struct _BT_COEXIST {
+struct BT_COEXIST {
        u8 bBtExist;
        u8 btTotalAntNum;
        u8 btChipType;
        u8 bInitlized;
-} BT_COEXIST, *PBT_COEXIST;
+};
 
 void DBG_BT_INFO(u8 *dbgmsg);
 
index 7fa384d..8f5de74 100644 (file)
@@ -434,7 +434,7 @@ struct hal_com_data {
        struct DM_ODM_T         odmpriv;
 
        /*  For bluetooth co-existance */
-       BT_COEXIST              bt_coexist;
+       struct BT_COEXIST               bt_coexist;
 
        /*  Interrupt related register information. */
        u32             SysIntrStatus;