diff options
author | Joe Perches <joe@perches.com> | 2011-02-02 14:05:47 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-02 14:34:49 -0800 |
commit | 1071a134d0822663f497a1dda4866cffa7df4e36 (patch) | |
tree | 8a533bd3f4f9b7571a089825b5c9bb7ee020d8fd /drivers/staging/ath6kl/miscdrv/common_drv.c | |
parent | 949c3676cd6b2717c2abda5d9b10e6d6d7daf741 (diff) |
staging: ath6kl: Remove A_BOOL and TRUE/FALSE
Use kernel bool and true/false.
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.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/ath6kl/miscdrv/common_drv.c b/drivers/staging/ath6kl/miscdrv/common_drv.c index 926f88fba9db..94b4eb0000b1 100644 --- a/drivers/staging/ath6kl/miscdrv/common_drv.c +++ b/drivers/staging/ath6kl/miscdrv/common_drv.c @@ -47,7 +47,7 @@ static ATH_DEBUG_MODULE_DBG_INFO *g_pModuleInfoHead = NULL; static A_MUTEX_T g_ModuleListLock; -static A_BOOL g_ModuleDebugInit = FALSE; +static bool g_ModuleDebugInit = false; #ifdef ATH_DEBUG_MODULE @@ -399,7 +399,7 @@ _delay_until_target_alive(HIF_DEVICE *hifDevice, A_INT32 wait_msecs, A_UINT32 Ta #define AR6002_RESET_CONTROL_ADDRESS 0x00004000 #define AR6003_RESET_CONTROL_ADDRESS 0x00004000 /* reset device */ -int ar6000_reset_device(HIF_DEVICE *hifDevice, A_UINT32 TargetType, A_BOOL waitForCompletion, A_BOOL coldReset) +int ar6000_reset_device(HIF_DEVICE *hifDevice, A_UINT32 TargetType, bool waitForCompletion, bool coldReset) { int status = A_OK; A_UINT32 address; @@ -470,7 +470,7 @@ int ar6000_reset_device(HIF_DEVICE *hifDevice, A_UINT32 TargetType, A_BOOL waitF #endif // Workaroud END - } while (FALSE); + } while (false); if (status) { AR_DEBUG_PRINTF(ATH_LOG_ERR, ("Failed to reset target \n")); @@ -619,7 +619,7 @@ void ar6000_dump_target_assert_info(HIF_DEVICE *hifDevice, A_UINT32 TargetType) #endif } - } while (FALSE); + } while (false); } @@ -679,7 +679,7 @@ int ar6000_set_htc_params(HIF_DEVICE *hifDevice, } } - } while (FALSE); + } while (false); return status; } @@ -967,7 +967,7 @@ void a_module_debug_support_init(void) } A_MUTEX_INIT(&g_ModuleListLock); g_pModuleInfoHead = NULL; - g_ModuleDebugInit = TRUE; + g_ModuleDebugInit = true; A_REGISTER_MODULE_DEBUG_INFO(misc); } @@ -980,7 +980,7 @@ void a_module_debug_support_cleanup(void) return; } - g_ModuleDebugInit = FALSE; + g_ModuleDebugInit = false; A_MUTEX_LOCK(&g_ModuleListLock); @@ -1020,7 +1020,7 @@ int ar6000_set_hci_bridge_flags(HIF_DEVICE *hifDevice, 4); - } while (FALSE); + } while (false); return status; } |