david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[ath9k] Fix compilation on older gcc versions

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2012-03-09 17:08:53 +00:00
parent b4bb39909e
commit 74b1e706a8
2 changed files with 2 additions and 3 deletions

View File

@ -638,7 +638,7 @@ void ath9k_hw_enable_interrupts(struct ath_hw *ah)
REG_READ(ah, AR_IMR), REG_READ(ah, AR_IER));
}
void ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints)
void ath9k_hw_set_interrupts(struct ath_hw *ah, unsigned int ints)
{
enum ath9k_int omask = ah->imask;
u32 mask, mask2;

View File

@ -668,7 +668,6 @@ enum ath9k_key_type {
struct ath_hw;
struct ath9k_channel;
enum ath9k_int;
u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q);
void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp);
@ -699,7 +698,7 @@ int ath9k_hw_stopdmarecv(struct ath_hw *ah, int *reset);
/* Interrupt Handling */
int ath9k_hw_intrpend(struct ath_hw *ah);
void ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints);
void ath9k_hw_set_interrupts(struct ath_hw *ah, unsigned int ints);
void ath9k_hw_enable_interrupts(struct ath_hw *ah);
void ath9k_hw_disable_interrupts(struct ath_hw *ah);