projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca39405
)
staging: rtl8192e: Convert typedef RT_PCI_CAPABILITIES_HEADER to struct rt_pci_capab_...
author
Larry Finger
<Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 03:15:00 +0000
(22:15 -0500)
committer
Larry Finger
<Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:25:01 +0000
(
01:25
-0500)
Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl_pci.h
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8192e/rtl_pci.h
b/drivers/staging/rtl8192e/rtl_pci.h
index 22662725b40e555f631232e4effaa7e06e35fe5a..890034aca4e4dd0a46634c865176ed1ed70a59f2 100644
(file)
--- a/
drivers/staging/rtl8192e/rtl_pci.h
+++ b/
drivers/staging/rtl8192e/rtl_pci.h
@@
-71,10
+71,10
@@
typedef struct _mp_adapter{
u8 PciBridgeLinkCtrlReg;
}mp_adapter,*pmp_adapter;
-
typedef struct _RT_PCI_CAPABILITIES_HEADER
{
+
struct rt_pci_capab_header
{
unsigned char CapabilityID;
unsigned char Next;
-}
RT_PCI_CAPABILITIES_HEADER, *PRT_PCI_CAPABILITIES_HEADER
;
+};
#define PCI_MAX_BRIDGE_NUMBER 255
#define PCI_MAX_DEVICES 32