aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2011-03-14 13:59:00 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-14 14:58:51 -0400
commit3d82b15e9f42ac6d9b350ebfb04c56ae8cc06966 (patch)
tree905813cb9716bd9ad0ccd62b97daa1635a66f34c
parentcfc854728ff2a7549b7572eb11dd4665f2809461 (diff)
ath6kl: remove-typedef HTC_SERVICE_CONNECT_REQ
remove-typedef -s HTC_SERVICE_CONNECT_REQ \ "struct htc_service_connect_req" drivers/staging/ath6kl/ Tested-by: Naveen Singh <nsingh@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/ath6kl/htc2/htc.c2
-rw-r--r--drivers/staging/ath6kl/htc2/htc_services.c2
-rw-r--r--drivers/staging/ath6kl/include/htc_api.h6
-rw-r--r--drivers/staging/ath6kl/os/linux/ar6000_drv.c4
-rw-r--r--drivers/staging/ath6kl/os/linux/ar6000_raw_if.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/ath6kl/htc2/htc.c b/drivers/staging/ath6kl/htc2/htc.c
index bf4fdb34e9e9..887a687b1392 100644
--- a/drivers/staging/ath6kl/htc2/htc.c
+++ b/drivers/staging/ath6kl/htc2/htc.c
@@ -229,7 +229,7 @@ int HTCWaitTarget(HTC_HANDLE HTCHandle)
229 struct htc_packet *pPacket = NULL; 229 struct htc_packet *pPacket = NULL;
230 HTC_READY_EX_MSG *pRdyMsg; 230 HTC_READY_EX_MSG *pRdyMsg;
231 231
232 HTC_SERVICE_CONNECT_REQ connect; 232 struct htc_service_connect_req connect;
233 HTC_SERVICE_CONNECT_RESP resp; 233 HTC_SERVICE_CONNECT_RESP resp;
234 234
235 AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("HTCWaitTarget - Enter (target:0x%lX) \n", (unsigned long)target)); 235 AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("HTCWaitTarget - Enter (target:0x%lX) \n", (unsigned long)target));
diff --git a/drivers/staging/ath6kl/htc2/htc_services.c b/drivers/staging/ath6kl/htc2/htc_services.c
index cb0731f45864..5c092fd3f61a 100644
--- a/drivers/staging/ath6kl/htc2/htc_services.c
+++ b/drivers/staging/ath6kl/htc2/htc_services.c
@@ -122,7 +122,7 @@ int HTCSendSetupComplete(HTC_TARGET *target)
122 122
123 123
124int HTCConnectService(HTC_HANDLE HTCHandle, 124int HTCConnectService(HTC_HANDLE HTCHandle,
125 HTC_SERVICE_CONNECT_REQ *pConnectReq, 125 struct htc_service_connect_req *pConnectReq,
126 HTC_SERVICE_CONNECT_RESP *pConnectResp) 126 HTC_SERVICE_CONNECT_RESP *pConnectResp)
127{ 127{
128 HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle); 128 HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
diff --git a/drivers/staging/ath6kl/include/htc_api.h b/drivers/staging/ath6kl/include/htc_api.h
index ae41f985c9f3..f8f00a0600a0 100644
--- a/drivers/staging/ath6kl/include/htc_api.h
+++ b/drivers/staging/ath6kl/include/htc_api.h
@@ -139,7 +139,7 @@ struct htc_ep_callbacks {
139}; 139};
140 140
141/* service connection information */ 141/* service connection information */
142typedef struct _HTC_SERVICE_CONNECT_REQ { 142struct htc_service_connect_req {
143 HTC_SERVICE_ID ServiceID; /* service ID to connect to */ 143 HTC_SERVICE_ID ServiceID; /* service ID to connect to */
144 u16 ConnectionFlags; /* connection flags, see htc protocol definition */ 144 u16 ConnectionFlags; /* connection flags, see htc protocol definition */
145 u8 *pMetaData; /* ptr to optional service-specific meta-data */ 145 u8 *pMetaData; /* ptr to optional service-specific meta-data */
@@ -148,7 +148,7 @@ typedef struct _HTC_SERVICE_CONNECT_REQ {
148 int MaxSendQueueDepth; /* maximum depth of any send queue */ 148 int MaxSendQueueDepth; /* maximum depth of any send queue */
149 u32 LocalConnectionFlags; /* HTC flags for the host-side (local) connection */ 149 u32 LocalConnectionFlags; /* HTC flags for the host-side (local) connection */
150 unsigned int MaxSendMsgSize; /* override max message size in send direction */ 150 unsigned int MaxSendMsgSize; /* override max message size in send direction */
151} HTC_SERVICE_CONNECT_REQ; 151};
152 152
153#define HTC_LOCAL_CONN_FLAGS_ENABLE_SEND_BUNDLE_PADDING (1 << 0) /* enable send bundle padding for this endpoint */ 153#define HTC_LOCAL_CONN_FLAGS_ENABLE_SEND_BUNDLE_PADDING (1 << 0) /* enable send bundle padding for this endpoint */
154 154
@@ -362,7 +362,7 @@ int HTCAddReceivePkt(HTC_HANDLE HTCHandle, struct htc_packet *pPacket);
362 @see also: HTCStart 362 @see also: HTCStart
363+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ 363+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
364int HTCConnectService(HTC_HANDLE HTCHandle, 364int HTCConnectService(HTC_HANDLE HTCHandle,
365 HTC_SERVICE_CONNECT_REQ *pReq, 365 struct htc_service_connect_req *pReq,
366 HTC_SERVICE_CONNECT_RESP *pResp); 366 HTC_SERVICE_CONNECT_RESP *pResp);
367/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 367/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
368 @desc: Send an HTC packet 368 @desc: Send an HTC packet
diff --git a/drivers/staging/ath6kl/os/linux/ar6000_drv.c b/drivers/staging/ath6kl/os/linux/ar6000_drv.c
index fab1e02f23f3..a7c57e3f3b67 100644
--- a/drivers/staging/ath6kl/os/linux/ar6000_drv.c
+++ b/drivers/staging/ath6kl/os/linux/ar6000_drv.c
@@ -2339,7 +2339,7 @@ ar6000_close(struct net_device *dev)
2339 2339
2340/* connect to a service */ 2340/* connect to a service */
2341static int ar6000_connectservice(AR_SOFTC_T *ar, 2341static int ar6000_connectservice(AR_SOFTC_T *ar,
2342 HTC_SERVICE_CONNECT_REQ *pConnect, 2342 struct htc_service_connect_req *pConnect,
2343 char *pDesc) 2343 char *pDesc)
2344{ 2344{
2345 int status; 2345 int status;
@@ -2605,7 +2605,7 @@ int ar6000_init(struct net_device *dev)
2605 } 2605 }
2606 2606
2607 do { 2607 do {
2608 HTC_SERVICE_CONNECT_REQ connect; 2608 struct htc_service_connect_req connect;
2609 2609
2610 /* the reason we have to wait for the target here is that the driver layer 2610 /* the reason we have to wait for the target here is that the driver layer
2611 * has to init BMI in order to set the host block size, 2611 * has to init BMI in order to set the host block size,
diff --git a/drivers/staging/ath6kl/os/linux/ar6000_raw_if.c b/drivers/staging/ath6kl/os/linux/ar6000_raw_if.c
index f8637f6b4477..35de2fb9f455 100644
--- a/drivers/staging/ath6kl/os/linux/ar6000_raw_if.c
+++ b/drivers/staging/ath6kl/os/linux/ar6000_raw_if.c
@@ -117,7 +117,7 @@ static int ar6000_connect_raw_service(AR_SOFTC_T *ar,
117 int status; 117 int status;
118 HTC_SERVICE_CONNECT_RESP response; 118 HTC_SERVICE_CONNECT_RESP response;
119 u8 streamNo; 119 u8 streamNo;
120 HTC_SERVICE_CONNECT_REQ connect; 120 struct htc_service_connect_req connect;
121 121
122 do { 122 do {
123 123