mirror of
https://github.com/xcat2/xNBA.git
synced 2025-05-03 02:05:52 +00:00
[ath9k] Fix compilation on older gcc versions
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
b4bb39909e
commit
74b1e706a8
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user