summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ath6kl/htc2
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2011-03-14 10:58:56 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-14 11:58:49 -0700
commit4f0cce96a1c40e3874ac7d3794ad0d36c79fb995 (patch)
treebb6c20aca4681a43039841eb3eb7773c59d73bce /drivers/staging/ath6kl/htc2
parentaf26f25c84a8340eae1362727ee0584870b2948d (diff)
downloadop-kernel-dev-4f0cce96a1c40e3874ac7d3794ad0d36c79fb995.zip
op-kernel-dev-4f0cce96a1c40e3874ac7d3794ad0d36c79fb995.tar.gz
ath6kl: remove-typedef HTC_INIT_INFO
remove-typedef -s HTC_INIT_INFO \ "struct htc_init_info" 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>
Diffstat (limited to 'drivers/staging/ath6kl/htc2')
-rw-r--r--drivers/staging/ath6kl/htc2/htc.c4
-rw-r--r--drivers/staging/ath6kl/htc2/htc_internal.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/ath6kl/htc2/htc.c b/drivers/staging/ath6kl/htc2/htc.c
index 2a065b4..810fe7b 100644
--- a/drivers/staging/ath6kl/htc2/htc.c
+++ b/drivers/staging/ath6kl/htc2/htc.c
@@ -90,7 +90,7 @@ static void HTCCleanup(HTC_TARGET *target)
}
/* registered target arrival callback from the HIF layer */
-HTC_HANDLE HTCCreate(void *hif_handle, HTC_INIT_INFO *pInfo)
+HTC_HANDLE HTCCreate(void *hif_handle, struct htc_init_info *pInfo)
{
HTC_TARGET *target = NULL;
int status = 0;
@@ -130,7 +130,7 @@ HTC_HANDLE HTCCreate(void *hif_handle, HTC_INIT_INFO *pInfo)
target->Device.MessagePendingCallback = HTCRecvMessagePendingHandler;
target->EpWaitingForBuffers = ENDPOINT_MAX;
- memcpy(&target->HTCInitInfo,pInfo,sizeof(HTC_INIT_INFO));
+ memcpy(&target->HTCInitInfo,pInfo,sizeof(struct htc_init_info));
ResetEndpointStates(target);
diff --git a/drivers/staging/ath6kl/htc2/htc_internal.h b/drivers/staging/ath6kl/htc2/htc_internal.h
index deff62a..c5727ca 100644
--- a/drivers/staging/ath6kl/htc2/htc_internal.h
+++ b/drivers/staging/ath6kl/htc2/htc_internal.h
@@ -132,7 +132,7 @@ typedef struct _HTC_TARGET {
u8 LastTrailer[256];
u8 LastTrailerLength;
#endif
- HTC_INIT_INFO HTCInitInfo;
+ struct htc_init_info HTCInitInfo;
u8 HTCTargetVersion;
int MaxMsgPerBundle; /* max messages per bundle for HTC */
bool SendBundlingEnabled; /* run time enable for send bundling (dynamic) */
OpenPOWER on IntegriCloud