Staging: bcm: Remove typedef for _E_IPADDR_CONTEXT and call directly.
authorKevin McKinney <klmckinney1@gmail.com>
Tue, 11 Dec 2012 02:55:03 +0000 (21:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:49:01 +0000 (10:49 -0800)
This patch removes typedef for _E_IPADDR_CONTEXT, and changes
the name of the enum to bcm_ipaddr_context. In addition,
any calls to enum E_IPADDR_CONTEXT are changed to call
directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/CmHost.c
drivers/staging/bcm/IPv6ProtocolHdr.h

index 23ddc3d7c9ea9f134bd452f5f4673209fe835c59..78335f972e84256ad87e5c7fc03d96ac2365c263 100644 (file)
@@ -113,7 +113,7 @@ static VOID deleteSFBySfid(struct bcm_mini_adapter *Adapter, UINT uiSearchRuleIn
 static inline VOID
 CopyIpAddrToClassifier(struct bcm_classifier_rule *pstClassifierEntry,
                B_UINT8 u8IpAddressLen, B_UINT8 *pu8IpAddressMaskSrc,
-               BOOLEAN bIpVersion6, E_IPADDR_CONTEXT eIpAddrContext)
+               BOOLEAN bIpVersion6, enum bcm_ipaddr_context eIpAddrContext)
 {
        int i = 0;
        UINT nSizeOfIPAddressInBytes = IP_LENGTH_OF_ADDRESS;
index a4d2f8482b1b6038af3f907db0d791c5dce95b5f..c319680fbf13f27f75d19dc9d9ad63a98eeb820b 100644 (file)
@@ -71,10 +71,10 @@ typedef struct IPV6IcmpHeaderFormatTag {
        unsigned short usChecksum;
 } IPV6IcmpHeader;
 
-typedef enum _E_IPADDR_CONTEXT {
+enum bcm_ipaddr_context {
        eSrcIpAddress,
        eDestIpAddress
-} E_IPADDR_CONTEXT;
+};
 
 /* Function Prototypes */