summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/cntrl_SignalingInterface.h
diff options
context:
space:
mode:
authorKevin McKinney2012-09-24 05:07:12 +0200
committerGreg Kroah-Hartman2012-09-26 18:31:52 +0200
commitda529f0ffb03b90f8d6a462f2681e72f4da7032a (patch)
treebd93133adb5438f5587a2be7407de85dabf46377 /drivers/staging/bcm/cntrl_SignalingInterface.h
parentStaging: bcm: Remove typedef for _stLocalSFDeleteRequest and call directly. (diff)
downloadkernel-qcow2-linux-da529f0ffb03b90f8d6a462f2681e72f4da7032a.tar.gz
kernel-qcow2-linux-da529f0ffb03b90f8d6a462f2681e72f4da7032a.tar.xz
kernel-qcow2-linux-da529f0ffb03b90f8d6a462f2681e72f4da7032a.zip
Staging: bcm: Remove typedef for _stLocalSFAddIndication and call directly.
This patch removes typedef for _stLocalSFAddIndication, and changes the name of the struct to bcm_add_indication. In addition, any calls to typedefs "stLocalSFAddIndication, *pstLocalSFAddIndication, stLocalSFChangeRequest, *pstLocalSFChangeRequest, stLocalSFChangeIndication, or *pstLocalSFChangeIndication " are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/cntrl_SignalingInterface.h')
-rw-r--r--drivers/staging/bcm/cntrl_SignalingInterface.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/drivers/staging/bcm/cntrl_SignalingInterface.h b/drivers/staging/bcm/cntrl_SignalingInterface.h
index 0f9ecc04688d..fbdc2316d997 100644
--- a/drivers/staging/bcm/cntrl_SignalingInterface.h
+++ b/drivers/staging/bcm/cntrl_SignalingInterface.h
@@ -277,10 +277,7 @@ typedef struct _stLocalSFAddRequest {
} stLocalSFAddRequest, *pstLocalSFAddRequest;
-/*
- * structure stLocalSFAddIndication
- */
-typedef struct _stLocalSFAddIndication {
+struct bcm_add_indication {
B_UINT8 u8Type; /* < Type */
B_UINT8 eConnectionDir; /* < Connection Direction */
/* brief 16 bit TID */
@@ -299,18 +296,7 @@ typedef struct _stLocalSFAddIndication {
B_UINT8 u8CC; /* <Confirmation Code */
B_UINT8 u8Padd; /* < 8-bit Padding */
B_UINT16 u16Padd; /* < 16 bit Padding */
-
-} stLocalSFAddIndication;
-
-typedef struct _stLocalSFAddIndication *pstLocalSFAddIndication;
-/*
- * structure stLocalSFChangeRequest is same as structure stLocalSFAddIndication
- */
-typedef struct _stLocalSFAddIndication stLocalSFChangeRequest, *pstLocalSFChangeRequest;
-/*
- * structure stLocalSFChangeIndication is same as structure stLocalSFAddIndication
- */
-typedef struct _stLocalSFAddIndication stLocalSFChangeIndication, *pstLocalSFChangeIndication;
+};
struct bcm_del_request {
B_UINT8 u8Type; /* < Type */