summaryrefslogtreecommitdiff
path: root/drivers/staging/ath6kl/miscdrv/common_drv.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-02-02 14:05:55 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-02 14:34:51 -0800
commitf68057e6fab6943ea2c5867d8b72e4b08bef5f6e (patch)
treefbac4cd9aa9a4b9c04d3fd35209b524d5b07bd65 /drivers/staging/ath6kl/miscdrv/common_drv.c
parentcb1e370987c3651707e30e404e41ebdc83571fba (diff)
staging: ath6kl: Convert A_INT32 to s32
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/miscdrv/common_drv.c')
-rw-r--r--drivers/staging/ath6kl/miscdrv/common_drv.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/ath6kl/miscdrv/common_drv.c b/drivers/staging/ath6kl/miscdrv/common_drv.c
index d0485bf4229d..0c9c8a34264b 100644
--- a/drivers/staging/ath6kl/miscdrv/common_drv.c
+++ b/drivers/staging/ath6kl/miscdrv/common_drv.c
@@ -87,7 +87,7 @@ int ar6000_SetAddressWindowRegister(HIF_DEVICE *hifDevice, u32 RegisterAddr, u32
{
int status;
u8 addrValue[4];
- A_INT32 i;
+ s32 i;
/* write bytes 1,2,3 of the register to set the upper address bytes, the LSB is written
* last to initiate the access cycle */
@@ -358,10 +358,10 @@ _do_write_diag(HIF_DEVICE *hifDevice, u32 addr, u32 value)
*/
#if 0
static int
-_delay_until_target_alive(HIF_DEVICE *hifDevice, A_INT32 wait_msecs, u32 TargetType)
+_delay_until_target_alive(HIF_DEVICE *hifDevice, s32 wait_msecs, u32 TargetType)
{
- A_INT32 actual_wait;
- A_INT32 i;
+ s32 actual_wait;
+ s32 i;
u32 address;
actual_wait = 0;
@@ -485,7 +485,7 @@ ar6000_copy_cust_data_from_target(HIF_DEVICE *hifDevice, u32 TargetType)
{
u32 eepHeaderAddr;
u8 AR6003CustDataShadow[AR6003_CUST_DATA_SIZE+4];
- A_INT32 i;
+ s32 i;
if (BMIReadMemory(hifDevice,
HOST_INTEREST_ITEM_ADDRESS(TargetType, hi_board_data),
@@ -727,13 +727,13 @@ int ar6000_prepare_target(HIF_DEVICE *hifDevice,
int
ar6002_REV1_reset_force_host (HIF_DEVICE *hifDevice)
{
- A_INT32 i;
+ s32 i;
struct forceROM_s {
u32 addr;
u32 data;
};
struct forceROM_s *ForceROM;
- A_INT32 szForceROM;
+ s32 szForceROM;
int status = A_OK;
u32 address;
u32 data;