From: Ana Rey Date: Fri, 7 Mar 2014 08:23:55 +0000 (+0100) Subject: staging: rtl8187se: Convert r8180_priv typedef into a struct X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a983c95fb8deebc05d37e963ef7d710fb30fdb54;p=deliverable%2Flinux.git 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: Ana Rey Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8187se/r8180.h b/drivers/staging/rtl8187se/r8180.h index b8f96709e82b..4f17bd9c38df 100644 --- a/drivers/staging/rtl8187se/r8180.h +++ b/drivers/staging/rtl8187se/r8180.h @@ -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