staging: rtl8187se: Convert r8180_priv typedef into a struct
authorAna Rey <anarey@gmail.com>
Fri, 7 Mar 2014 08:23:55 +0000 (09:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Mar 2014 00:15:22 +0000 (16:15 -0800)
The Documentation/CodingStyle doesn't recommend the use of typedef,
convert this to structure.

Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/r8180.h

index b8f96709e82b9f1c19703b9ab192f78ccb05b062..4f17bd9c38df1f7e71814c5a2ed3c11363664268 100644 (file)
@@ -322,7 +322,7 @@ typedef enum _RT_PS_MODE {
 } RT_PS_MODE;
 
 /* by amy for power save. */
-typedef struct r8180_priv {
+struct r8180_priv {
        struct pci_dev *pdev;
 
        short epromtype;
@@ -644,7 +644,7 @@ typedef struct r8180_priv {
        u32 IntrMask;
 
        struct chnl_access_setting ChannelAccessSetting;
-} r8180_priv;
+};
 
 #define MANAGE_PRIORITY 0
 #define BK_PRIORITY 1
This page took 0.024819 seconds and 5 git commands to generate.