summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ath6kl/include/common_drv.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2011-03-10 18:55:46 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-11 14:31:53 -0800
commit84fd335f2d4f447363f79a8cb032635a05c91887 (patch)
tree34d51e80ddc5b9cb7540b7530c21303c50608bfa /drivers/staging/ath6kl/include/common_drv.h
parentd184f4a0528f3734df4639c32a12c8ded4c1afb7 (diff)
downloadop-kernel-dev-84fd335f2d4f447363f79a8cb032635a05c91887.zip
op-kernel-dev-84fd335f2d4f447363f79a8cb032635a05c91887.tar.gz
staging: ath6kl: remove-typedef COMMON_CREDIT_STATE_INFO
remove-typedef -s COMMON_CREDIT_STATE_INFO \ "struct common_credit_state_info" 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/include/common_drv.h')
-rw-r--r--drivers/staging/ath6kl/include/common_drv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/ath6kl/include/common_drv.h b/drivers/staging/ath6kl/include/common_drv.h
index 6ed4901..f5bc9c3 100644
--- a/drivers/staging/ath6kl/include/common_drv.h
+++ b/drivers/staging/ath6kl/include/common_drv.h
@@ -29,12 +29,12 @@
/* structure that is the state information for the default credit distribution callback
* drivers should instantiate (zero-init as well) this structure in their driver instance
* and pass it as a context to the HTC credit distribution functions */
-typedef struct _COMMON_CREDIT_STATE_INFO {
+struct common_credit_state_info {
int TotalAvailableCredits; /* total credits in the system at startup */
int CurrentFreeCredits; /* credits available in the pool that have not been
given out to endpoints */
HTC_ENDPOINT_CREDIT_DIST *pLowestPriEpDist; /* pointer to the lowest priority endpoint dist struct */
-} COMMON_CREDIT_STATE_INFO;
+};
typedef struct {
s32 (*setupTransport)(void *ar);
@@ -64,7 +64,7 @@ extern "C" {
#endif
/* OS-independent APIs */
-int ar6000_setup_credit_dist(HTC_HANDLE HTCHandle, COMMON_CREDIT_STATE_INFO *pCredInfo);
+int ar6000_setup_credit_dist(HTC_HANDLE HTCHandle, struct common_credit_state_info *pCredInfo);
int ar6000_ReadRegDiag(HIF_DEVICE *hifDevice, u32 *address, u32 *data);
OpenPOWER on IntegriCloud