Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef RT_PCI_CAPABILITIES_HEADER to stru…
Browse files Browse the repository at this point in the history
…ct rt_pci_capab_header

Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent ca39405 commit f9db5f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192e/rtl_pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9db5f9

Please sign in to comment.