diff options
author | Joe Perches <joe@perches.com> | 2011-02-02 17:05:49 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-02 17:34:49 -0500 |
commit | ab3655dae4948a82a3be52681af0b778ead2c0ff (patch) | |
tree | 3b3c7b695b241971fc559a293cb39752862889a9 /drivers/staging/ath6kl/bmi/src/bmi.c | |
parent | 4c42080f3e4efba6f79fe1840eb0b728f286702d (diff) |
staging: ath6kl: Convert A_UINT8 to u8
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/bmi/src/bmi.c')
-rw-r--r-- | drivers/staging/ath6kl/bmi/src/bmi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/ath6kl/bmi/src/bmi.c b/drivers/staging/ath6kl/bmi/src/bmi.c index a29f60e0ce6..165b6b3d8dd 100644 --- a/drivers/staging/ath6kl/bmi/src/bmi.c +++ b/drivers/staging/ath6kl/bmi/src/bmi.c | |||
@@ -755,7 +755,7 @@ bmiBufferSend(HIF_DEVICE *device, | |||
755 | /* hit the credit counter with a 4-byte access, the first byte read will hit the counter and cause | 755 | /* hit the credit counter with a 4-byte access, the first byte read will hit the counter and cause |
756 | * a decrement, while the remaining 3 bytes has no effect. The rationale behind this is to | 756 | * a decrement, while the remaining 3 bytes has no effect. The rationale behind this is to |
757 | * make all HIF accesses 4-byte aligned */ | 757 | * make all HIF accesses 4-byte aligned */ |
758 | status = HIFReadWrite(device, address, (A_UINT8 *)pBMICmdCredits, 4, | 758 | status = HIFReadWrite(device, address, (u8 *)pBMICmdCredits, 4, |
759 | HIF_RD_SYNC_BYTE_INC, NULL); | 759 | HIF_RD_SYNC_BYTE_INC, NULL); |
760 | if (status != A_OK) { | 760 | if (status != A_OK) { |
761 | AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("Unable to decrement the command credit count register\n")); | 761 | AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("Unable to decrement the command credit count register\n")); |
@@ -879,7 +879,7 @@ bmiBufferReceive(HIF_DEVICE *device, | |||
879 | continue; | 879 | continue; |
880 | } | 880 | } |
881 | 881 | ||
882 | status = HIFReadWrite(device, RX_LOOKAHEAD_VALID_ADDRESS, (A_UINT8 *)&word_available, | 882 | status = HIFReadWrite(device, RX_LOOKAHEAD_VALID_ADDRESS, (u8 *)&word_available, |
883 | sizeof(word_available), HIF_RD_SYNC_BYTE_INC, NULL); | 883 | sizeof(word_available), HIF_RD_SYNC_BYTE_INC, NULL); |
884 | if (status != A_OK) { | 884 | if (status != A_OK) { |
885 | AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("Unable to read RX_LOOKAHEAD_VALID register\n")); | 885 | AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("Unable to read RX_LOOKAHEAD_VALID register\n")); |
@@ -930,7 +930,7 @@ bmiBufferReceive(HIF_DEVICE *device, | |||
930 | /* read the counter using a 4-byte read. Since the counter is NOT auto-decrementing, | 930 | /* read the counter using a 4-byte read. Since the counter is NOT auto-decrementing, |
931 | * we can read this counter multiple times using a non-incrementing address mode. | 931 | * we can read this counter multiple times using a non-incrementing address mode. |
932 | * The rationale here is to make all HIF accesses a multiple of 4 bytes */ | 932 | * The rationale here is to make all HIF accesses a multiple of 4 bytes */ |
933 | status = HIFReadWrite(device, address, (A_UINT8 *)pBMICmdCredits, sizeof(*pBMICmdCredits), | 933 | status = HIFReadWrite(device, address, (u8 *)pBMICmdCredits, sizeof(*pBMICmdCredits), |
934 | HIF_RD_SYNC_BYTE_FIX, NULL); | 934 | HIF_RD_SYNC_BYTE_FIX, NULL); |
935 | if (status != A_OK) { | 935 | if (status != A_OK) { |
936 | AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("Unable to read the command credit count register\n")); | 936 | AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("Unable to read the command credit count register\n")); |
@@ -982,7 +982,7 @@ BMIFastDownload(HIF_DEVICE *device, A_UINT32 address, A_UCHAR *buffer, A_UINT32 | |||
982 | } | 982 | } |
983 | 983 | ||
984 | if (unalignedBytes) { | 984 | if (unalignedBytes) { |
985 | status = BMILZData(device, (A_UINT8 *)&lastWord, 4); | 985 | status = BMILZData(device, (u8 *)&lastWord, 4); |
986 | } | 986 | } |
987 | 987 | ||
988 | if (!status) { | 988 | if (!status) { |