Commit 1897a50c authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef mp_adapter to struct mp_adapter

Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 9be6f10e
...@@ -578,7 +578,7 @@ typedef struct r8192_priv ...@@ -578,7 +578,7 @@ typedef struct r8192_priv
struct channel_access_setting ChannelAccessSetting; struct channel_access_setting ChannelAccessSetting;
mp_adapter NdisAdapter; struct mp_adapter NdisAdapter;
struct rtl819x_ops *ops; struct rtl819x_ops *ops;
struct rtllib_device *rtllib; struct rtllib_device *rtllib;
......
...@@ -54,7 +54,7 @@ static inline void NdisRawReadPortUlong(u32 port, u32 *pval) ...@@ -54,7 +54,7 @@ static inline void NdisRawReadPortUlong(u32 port, u32 *pval)
*pval = inl(port); *pval = inl(port);
} }
typedef struct _mp_adapter{ struct mp_adapter {
u8 LinkCtrlReg; u8 LinkCtrlReg;
u8 BusNumber; u8 BusNumber;
...@@ -69,7 +69,7 @@ typedef struct _mp_adapter{ ...@@ -69,7 +69,7 @@ typedef struct _mp_adapter{
u16 PciBridgeDeviceId; u16 PciBridgeDeviceId;
u8 PciBridgePCIeHdrOffset; u8 PciBridgePCIeHdrOffset;
u8 PciBridgeLinkCtrlReg; u8 PciBridgeLinkCtrlReg;
}mp_adapter,*pmp_adapter; };//,*pmp_adapter;
struct rt_pci_capab_header { struct rt_pci_capab_header {
unsigned char CapabilityID; unsigned char CapabilityID;
......
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