staging: rtl8192e: Convert typedef mp_adapter to struct mp_adapter
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 05:11:20 +0000 (00:11 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:44:33 +0000 (01:44 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl_core.h
drivers/staging/rtl8192e/rtl_pci.h

index 2747f0dce63216e2d2e37c9fd60dfedc31829839..803cfe870ece6ee1aecd2e7341a0aa7da9a5e23c 100644 (file)
@@ -578,7 +578,7 @@ typedef struct r8192_priv
 
        struct channel_access_setting ChannelAccessSetting;
 
-       mp_adapter                              NdisAdapter;
+       struct mp_adapter NdisAdapter;
 
        struct rtl819x_ops                      *ops;
        struct rtllib_device                    *rtllib;
index 890034aca4e4dd0a46634c865176ed1ed70a59f2..b4efc7c4db02bbb53af68f289b34d32603e4b1fb 100644 (file)
@@ -54,7 +54,7 @@ static inline void NdisRawReadPortUlong(u32 port, u32 *pval)
        *pval = inl(port);
 }
 
-typedef struct _mp_adapter{
+struct mp_adapter {
        u8              LinkCtrlReg;
 
        u8              BusNumber;
@@ -69,7 +69,7 @@ typedef struct _mp_adapter{
        u16             PciBridgeDeviceId;
        u8              PciBridgePCIeHdrOffset;
        u8              PciBridgeLinkCtrlReg;
-}mp_adapter,*pmp_adapter;
+};//,*pmp_adapter;
 
 struct rt_pci_capab_header {
     unsigned char   CapabilityID;