aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2011-03-10 21:55:36 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-11 17:31:49 -0500
commit495abc7995ffff39ba4333ad8e382017dc2192f8 (patch)
tree12e8bba742e04ce9ebcdf7a6d91e292cd17751d6 /drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c
parent26da4b510dab790905801e99c83230ea517d7eab (diff)
staging: ath6kl: remove-typedef AR6K_DEVICE
remove-typedef -s AR6K_DEVICE \ "struct ar6k_device" drivers/staging/ath6kl/ Cc: Naveen Singh <naveen.singh@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/AR6000/ar6k_gmbox_hciuart.c')
-rw-r--r--drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c b/drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c
index 177f04dc967..3ee3d40893d 100644
--- a/drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c
+++ b/drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox_hciuart.c
@@ -66,7 +66,7 @@ typedef struct {
66 HTC_PACKET_QUEUE SendQueue; /* write queue holding HCI Command and ACL packets */ 66 HTC_PACKET_QUEUE SendQueue; /* write queue holding HCI Command and ACL packets */
67 HTC_PACKET_QUEUE HCIACLRecvBuffers; /* recv queue holding buffers for incomming ACL packets */ 67 HTC_PACKET_QUEUE HCIACLRecvBuffers; /* recv queue holding buffers for incomming ACL packets */
68 HTC_PACKET_QUEUE HCIEventBuffers; /* recv queue holding buffers for incomming event packets */ 68 HTC_PACKET_QUEUE HCIEventBuffers; /* recv queue holding buffers for incomming event packets */
69 AR6K_DEVICE *pDev; 69 struct ar6k_device *pDev;
70 A_MUTEX_T HCIRxLock; 70 A_MUTEX_T HCIRxLock;
71 A_MUTEX_T HCITxLock; 71 A_MUTEX_T HCITxLock;
72 int CreditsMax; 72 int CreditsMax;
@@ -846,7 +846,7 @@ static void FlushRecvBuffers(GMBOX_PROTO_HCI_UART *pProt)
846 846
847/*** protocol module install entry point ***/ 847/*** protocol module install entry point ***/
848 848
849int GMboxProtocolInstall(AR6K_DEVICE *pDev) 849int GMboxProtocolInstall(struct ar6k_device *pDev)
850{ 850{
851 int status = 0; 851 int status = 0;
852 GMBOX_PROTO_HCI_UART *pProtocol = NULL; 852 GMBOX_PROTO_HCI_UART *pProtocol = NULL;
@@ -889,7 +889,7 @@ int GMboxProtocolInstall(AR6K_DEVICE *pDev)
889} 889}
890 890
891/*** protocol module uninstall entry point ***/ 891/*** protocol module uninstall entry point ***/
892void GMboxProtocolUninstall(AR6K_DEVICE *pDev) 892void GMboxProtocolUninstall(struct ar6k_device *pDev)
893{ 893{
894 GMBOX_PROTO_HCI_UART *pProtocol = (GMBOX_PROTO_HCI_UART *)DEV_GMBOX_GET_PROTOCOL(pDev); 894 GMBOX_PROTO_HCI_UART *pProtocol = (GMBOX_PROTO_HCI_UART *)DEV_GMBOX_GET_PROTOCOL(pDev);
895 895
@@ -939,7 +939,7 @@ static int NotifyTransportReady(GMBOX_PROTO_HCI_UART *pProt)
939HCI_TRANSPORT_HANDLE HCI_TransportAttach(void *HTCHandle, HCI_TRANSPORT_CONFIG_INFO *pInfo) 939HCI_TRANSPORT_HANDLE HCI_TransportAttach(void *HTCHandle, HCI_TRANSPORT_CONFIG_INFO *pInfo)
940{ 940{
941 GMBOX_PROTO_HCI_UART *pProtocol = NULL; 941 GMBOX_PROTO_HCI_UART *pProtocol = NULL;
942 AR6K_DEVICE *pDev; 942 struct ar6k_device *pDev;
943 943
944 AR_DEBUG_PRINTF(ATH_DEBUG_TRC,("+HCI_TransportAttach \n")); 944 AR_DEBUG_PRINTF(ATH_DEBUG_TRC,("+HCI_TransportAttach \n"));
945 945
@@ -984,7 +984,7 @@ HCI_TRANSPORT_HANDLE HCI_TransportAttach(void *HTCHandle, HCI_TRANSPORT_CONFIG_I
984void HCI_TransportDetach(HCI_TRANSPORT_HANDLE HciTrans) 984void HCI_TransportDetach(HCI_TRANSPORT_HANDLE HciTrans)
985{ 985{
986 GMBOX_PROTO_HCI_UART *pProtocol = (GMBOX_PROTO_HCI_UART *)HciTrans; 986 GMBOX_PROTO_HCI_UART *pProtocol = (GMBOX_PROTO_HCI_UART *)HciTrans;
987 AR6K_DEVICE *pDev = pProtocol->pDev; 987 struct ar6k_device *pDev = pProtocol->pDev;
988 988
989 AR_DEBUG_PRINTF(ATH_DEBUG_TRC,("+HCI_TransportDetach \n")); 989 AR_DEBUG_PRINTF(ATH_DEBUG_TRC,("+HCI_TransportDetach \n"));
990 990