]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8192u: fix '{' following enum go on the same line
authorAastha Gupta <aastha.gupta4104@gmail.com>
Sat, 16 Sep 2017 11:00:50 +0000 (16:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 10:10:27 +0000 (12:10 +0200)
Fixes checkpatch.pl error:
ERROR: open brace '{' following enum go on the same line

Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211.h

index c88374b3a68697567466069fbdc0c9738cf01e5c..6bea6433ea7d375ca7d2f1594000332ae2ae6cd9 100644 (file)
@@ -1486,15 +1486,13 @@ typedef enum _Fsync_State {
 } Fsync_State;
 
 // Power save mode configured.
-typedef        enum _RT_PS_MODE
-{
+typedef        enum _RT_PS_MODE {
        eActive,        // Active/Continuous access.
        eMaxPs,         // Max power save mode.
        eFastPs         // Fast power save mode.
 } RT_PS_MODE;
 
-typedef enum _IPS_CALLBACK_FUNCION
-{
+typedef enum _IPS_CALLBACK_FUNCION {
        IPS_CALLBACK_NONE = 0,
        IPS_CALLBACK_MGNT_LINK_REQUEST = 1,
        IPS_CALLBACK_JOIN_REQUEST = 2,
@@ -1572,8 +1570,7 @@ typedef u32 RT_RF_CHANGE_SOURCE;
 #define RF_CHANGE_BY_IPS       BIT(28)
 #define RF_CHANGE_BY_INIT      0       // Do not change the RFOff reason. Defined by Bruce, 2008-01-17.
 
-typedef enum
-{
+typedef enum {
        COUNTRY_CODE_FCC = 0,
        COUNTRY_CODE_IC = 1,
        COUNTRY_CODE_ETSI = 2,