Commit a983c95f authored by Ana Rey's avatar Ana Rey Committed by Greg Kroah-Hartman

staging: rtl8187se: Convert r8180_priv typedef into a struct

The Documentation/CodingStyle doesn't recommend the use of typedef,
convert this to structure.
Signed-off-by: default avatarAna Rey <anarey@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent da37aabf
...@@ -322,7 +322,7 @@ typedef enum _RT_PS_MODE { ...@@ -322,7 +322,7 @@ typedef enum _RT_PS_MODE {
} RT_PS_MODE; } RT_PS_MODE;
/* by amy for power save. */ /* by amy for power save. */
typedef struct r8180_priv { struct r8180_priv {
struct pci_dev *pdev; struct pci_dev *pdev;
short epromtype; short epromtype;
...@@ -644,7 +644,7 @@ typedef struct r8180_priv { ...@@ -644,7 +644,7 @@ typedef struct r8180_priv {
u32 IntrMask; u32 IntrMask;
struct chnl_access_setting ChannelAccessSetting; struct chnl_access_setting ChannelAccessSetting;
} r8180_priv; };
#define MANAGE_PRIORITY 0 #define MANAGE_PRIORITY 0
#define BK_PRIORITY 1 #define BK_PRIORITY 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment