From a983c95fb8deebc05d37e963ef7d710fb30fdb54 Mon Sep 17 00:00:00 2001 From: Ana Rey Date: Fri, 7 Mar 2014 09:23:55 +0100 Subject: [PATCH] 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 --- drivers/staging/rtl8187se/r8180.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1