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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cfc854728f
commit
3d82b15e9f
@@ -229,7 +229,7 @@ int HTCWaitTarget(HTC_HANDLE HTCHandle)
|
|||||||
struct htc_packet *pPacket = NULL;
|
struct htc_packet *pPacket = NULL;
|
||||||
HTC_READY_EX_MSG *pRdyMsg;
|
HTC_READY_EX_MSG *pRdyMsg;
|
||||||
|
|
||||||
HTC_SERVICE_CONNECT_REQ connect;
|
struct htc_service_connect_req connect;
|
||||||
HTC_SERVICE_CONNECT_RESP resp;
|
HTC_SERVICE_CONNECT_RESP resp;
|
||||||
|
|
||||||
AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("HTCWaitTarget - Enter (target:0x%lX) \n", (unsigned long)target));
|
AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("HTCWaitTarget - Enter (target:0x%lX) \n", (unsigned long)target));
|
||||||
|
@@ -122,7 +122,7 @@ int HTCSendSetupComplete(HTC_TARGET *target)
|
|||||||
|
|
||||||
|
|
||||||
int HTCConnectService(HTC_HANDLE HTCHandle,
|
int HTCConnectService(HTC_HANDLE HTCHandle,
|
||||||
HTC_SERVICE_CONNECT_REQ *pConnectReq,
|
struct htc_service_connect_req *pConnectReq,
|
||||||
HTC_SERVICE_CONNECT_RESP *pConnectResp)
|
HTC_SERVICE_CONNECT_RESP *pConnectResp)
|
||||||
{
|
{
|
||||||
HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
|
HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
|
||||||
|
@@ -139,7 +139,7 @@ struct htc_ep_callbacks {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* service connection information */
|
/* service connection information */
|
||||||
typedef struct _HTC_SERVICE_CONNECT_REQ {
|
struct htc_service_connect_req {
|
||||||
HTC_SERVICE_ID ServiceID; /* service ID to connect to */
|
HTC_SERVICE_ID ServiceID; /* service ID to connect to */
|
||||||
u16 ConnectionFlags; /* connection flags, see htc protocol definition */
|
u16 ConnectionFlags; /* connection flags, see htc protocol definition */
|
||||||
u8 *pMetaData; /* ptr to optional service-specific meta-data */
|
u8 *pMetaData; /* ptr to optional service-specific meta-data */
|
||||||
@@ -148,7 +148,7 @@ typedef struct _HTC_SERVICE_CONNECT_REQ {
|
|||||||
int MaxSendQueueDepth; /* maximum depth of any send queue */
|
int MaxSendQueueDepth; /* maximum depth of any send queue */
|
||||||
u32 LocalConnectionFlags; /* HTC flags for the host-side (local) connection */
|
u32 LocalConnectionFlags; /* HTC flags for the host-side (local) connection */
|
||||||
unsigned int MaxSendMsgSize; /* override max message size in send direction */
|
unsigned int MaxSendMsgSize; /* override max message size in send direction */
|
||||||
} HTC_SERVICE_CONNECT_REQ;
|
};
|
||||||
|
|
||||||
#define HTC_LOCAL_CONN_FLAGS_ENABLE_SEND_BUNDLE_PADDING (1 << 0) /* enable send bundle padding for this endpoint */
|
#define HTC_LOCAL_CONN_FLAGS_ENABLE_SEND_BUNDLE_PADDING (1 << 0) /* enable send bundle padding for this endpoint */
|
||||||
|
|
||||||
@@ -362,7 +362,7 @@ int HTCAddReceivePkt(HTC_HANDLE HTCHandle, struct htc_packet *pPacket);
|
|||||||
@see also: HTCStart
|
@see also: HTCStart
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||||
int HTCConnectService(HTC_HANDLE HTCHandle,
|
int HTCConnectService(HTC_HANDLE HTCHandle,
|
||||||
HTC_SERVICE_CONNECT_REQ *pReq,
|
struct htc_service_connect_req *pReq,
|
||||||
HTC_SERVICE_CONNECT_RESP *pResp);
|
HTC_SERVICE_CONNECT_RESP *pResp);
|
||||||
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
@desc: Send an HTC packet
|
@desc: Send an HTC packet
|
||||||
|
@@ -2339,7 +2339,7 @@ ar6000_close(struct net_device *dev)
|
|||||||
|
|
||||||
/* connect to a service */
|
/* connect to a service */
|
||||||
static int ar6000_connectservice(AR_SOFTC_T *ar,
|
static int ar6000_connectservice(AR_SOFTC_T *ar,
|
||||||
HTC_SERVICE_CONNECT_REQ *pConnect,
|
struct htc_service_connect_req *pConnect,
|
||||||
char *pDesc)
|
char *pDesc)
|
||||||
{
|
{
|
||||||
int status;
|
int status;
|
||||||
@@ -2605,7 +2605,7 @@ int ar6000_init(struct net_device *dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
HTC_SERVICE_CONNECT_REQ connect;
|
struct htc_service_connect_req connect;
|
||||||
|
|
||||||
/* the reason we have to wait for the target here is that the driver layer
|
/* the reason we have to wait for the target here is that the driver layer
|
||||||
* has to init BMI in order to set the host block size,
|
* has to init BMI in order to set the host block size,
|
||||||
|
@@ -117,7 +117,7 @@ static int ar6000_connect_raw_service(AR_SOFTC_T *ar,
|
|||||||
int status;
|
int status;
|
||||||
HTC_SERVICE_CONNECT_RESP response;
|
HTC_SERVICE_CONNECT_RESP response;
|
||||||
u8 streamNo;
|
u8 streamNo;
|
||||||
HTC_SERVICE_CONNECT_REQ connect;
|
struct htc_service_connect_req connect;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user