[PATCH 9/9] Staging: bcm: Remove typedef for _stCPacketClassificationRuleSI and call directly.

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

 



This patch removes typedef for
_stCPacketClassificationRuleSI, and changes the
name of the struct to bcm_stcpacketclsrulesi. In
addition, any calls to typedefs
"CCPacketClassificationRuleSI,
stCPacketClassificationRuleSI,
*pstCPacketClassificationRuleSI" are changed
to call the struct directly.

Signed-off-by: Kevin McKinney <klmckinney1@xxxxxxxxx>
---
 drivers/staging/bcm/cntrl_SignalingInterface.h |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/bcm/cntrl_SignalingInterface.h b/drivers/staging/bcm/cntrl_SignalingInterface.h
index 18d3d6d..e1ae356 100644
--- a/drivers/staging/bcm/cntrl_SignalingInterface.h
+++ b/drivers/staging/bcm/cntrl_SignalingInterface.h
@@ -37,9 +37,9 @@
 /*
  * structure Definitions
  *
- * brief class cCPacketClassificationRule
+ * brief class bcm_stcpacketclsrulesi
  */
-struct _stCPacketClassificationRuleSI {
+struct bcm_stcpacketclsrulesi {
 	/* 16bit UserPriority Of The Service Flow */
 	B_UINT16 u16UserPriority;
 	/* 16bit VLANID Of The Service Flow */
@@ -96,7 +96,6 @@ struct _stCPacketClassificationRuleSI {
 	B_UINT8 u8ClassifierActionRule;
 	B_UINT16 u16ValidityBitMap;
 };
-typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI;
 
 /* brief class bcm_stphsrulesi */
 struct bcm_stphsrulesi {
@@ -130,7 +129,7 @@ struct bcm_stconvergencesltypes {
 	/* 16bit Padding */
 	B_UINT8 u8Padding[2];
 	/* brief class cCPacketClassificationRule */
-	stCPacketClassificationRuleSI cCPacketClassificationRule;
+	struct bcm_stcpacketclsrulesi cCPacketClassificationRule;
 	/* brief class CPhsRuleSI */
 	struct bcm_stphsrulesi cPhsRule;
 };
-- 
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