[PATCH 10/18] Staging: bcm: Remove typedef for _E_SERVICEFLOW_CS_SPEC_ and call directly.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 drivers/staging/bcm/Protocol.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/bcm/Protocol.h b/drivers/staging/bcm/Protocol.h
index b20d857..89246b1 100644
--- a/drivers/staging/bcm/Protocol.h
+++ b/drivers/staging/bcm/Protocol.h
@@ -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))
-- 
1.7.9.5

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux