Staging: bcm: Remove typedef for _E_SERVICEFLOW_CS_SPEC_ and call directly.
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 22 Dec 2012 19:27:48 +0000 (14:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:56:45 +0000 (10:56 -0800)
This patch removes typedef for _E_SERVICEFLOW_CS_SPEC_,
and changes the name of the enum to bcm_spec_encoding.

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

index b20d857fc14633995a94807992e61648cbd70422..89246b1b0a6889d57196f807fb9b4585026bbf65 100644 (file)
@@ -77,7 +77,7 @@ typedef struct _ETH_CS_ETH2_FRAME {
 #define ETHERNET_FRAMETYPE_802QVLAN    ntohs(0x8100)
 
 /* Per SF CS Specification Encodings */
-typedef enum _E_SERVICEFLOW_CS_SPEC_ {
+enum bcm_spec_encoding {
        eCSSpecUnspecified = 0,
        eCSPacketIPV4,
        eCSPacketIPV6,
@@ -88,7 +88,7 @@ typedef enum _E_SERVICEFLOW_CS_SPEC_ {
        eCSPacketIPV4Over802_1QVLAN,
        eCSPacketIPV6Over802_1QVLAN,
        eCSPacketUnsupported
-} E_SERVICEFLOW_CS_SPEC;
+};
 
 #define        IP6_HEADER_LEN          40
 #define IP_VERSION(byte)       (((byte&0xF0)>>4))