summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192u/r819xU_phy.h
diff options
context:
space:
mode:
authorJohn Whitmore <johnfwhitmore@gmail.com>2018-07-13 12:22:59 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-13 15:41:16 +0200
commit4162433ac98e07501e42dccd176ae846dedc0e21 (patch)
treeb6b84666741e5fc19e9236d5558f9291b6f528f9 /drivers/staging/rtl8192u/r819xU_phy.h
parent153c6b11eb40e93c5a9cabd63ffebde37e7661f8 (diff)
staging:rtl8192u: remove typedef of enumeration SwChnlCmdID - Style
To clear a checkpatch issue removed the typedef of the enumeration SwChnlCmdID this should not impact runtime code as it's only a coding style change. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r819xU_phy.h')
-rw-r--r--drivers/staging/rtl8192u/r819xU_phy.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_phy.h b/drivers/staging/rtl8192u/r819xU_phy.h
index d2e69228ac8a..4471a0e00936 100644
--- a/drivers/staging/rtl8192u/r819xU_phy.h
+++ b/drivers/staging/rtl8192u/r819xU_phy.h
@@ -7,7 +7,7 @@
#define MAX_RFDEPENDCMD_CNT 16
#define MAX_POSTCMD_CNT 16
-typedef enum _SwChnlCmdID {
+enum SwChnlCmdID {
CmdID_End,
CmdID_SetTxPowerLevel,
CmdID_BBRegWrite10,
@@ -15,15 +15,15 @@ typedef enum _SwChnlCmdID {
CmdID_WritePortUshort,
CmdID_WritePortUchar,
CmdID_RF_WriteReg,
-} SwChnlCmdID;
+};
/* -----------------------Define structure---------------------- */
/* 1. Switch channel related */
typedef struct _SwChnlCmd {
- SwChnlCmdID CmdID;
- u32 Para1;
- u32 Para2;
- u32 msDelay;
+ enum SwChnlCmdID CmdID;
+ u32 Para1;
+ u32 Para2;
+ u32 msDelay;
} __packed SwChnlCmd;
extern u32 rtl819XMACPHY_Array_PG[];