mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 01:52:08 +03:00
[ath9k] Fix compilation on older gcc versions
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -638,7 +638,7 @@ void ath9k_hw_enable_interrupts(struct ath_hw *ah)
|
|||||||
REG_READ(ah, AR_IMR), REG_READ(ah, AR_IER));
|
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;
|
enum ath9k_int omask = ah->imask;
|
||||||
u32 mask, mask2;
|
u32 mask, mask2;
|
||||||
|
|||||||
@@ -668,7 +668,6 @@ enum ath9k_key_type {
|
|||||||
|
|
||||||
struct ath_hw;
|
struct ath_hw;
|
||||||
struct ath9k_channel;
|
struct ath9k_channel;
|
||||||
enum ath9k_int;
|
|
||||||
|
|
||||||
u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q);
|
u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q);
|
||||||
void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp);
|
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 */
|
/* Interrupt Handling */
|
||||||
int ath9k_hw_intrpend(struct ath_hw *ah);
|
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_enable_interrupts(struct ath_hw *ah);
|
||||||
void ath9k_hw_disable_interrupts(struct ath_hw *ah);
|
void ath9k_hw_disable_interrupts(struct ath_hw *ah);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user