diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/ce.h')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/ce.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/ce.h b/drivers/net/wireless/ath/ath10k/ce.h index 617a151e8ce4..c18647b87f71 100644 --- a/drivers/net/wireless/ath/ath10k/ce.h +++ b/drivers/net/wireless/ath/ath10k/ce.h | |||
@@ -394,7 +394,7 @@ struct ce_attr { | |||
394 | #define DST_WATERMARK_HIGH_RESET 0 | 394 | #define DST_WATERMARK_HIGH_RESET 0 |
395 | #define DST_WATERMARK_ADDRESS 0x0050 | 395 | #define DST_WATERMARK_ADDRESS 0x0050 |
396 | 396 | ||
397 | static inline u32 ath10k_ce_base_address(unsigned int ce_id) | 397 | static inline u32 ath10k_ce_base_address(struct ath10k *ar, unsigned int ce_id) |
398 | { | 398 | { |
399 | return CE0_BASE_ADDRESS + (CE1_BASE_ADDRESS - CE0_BASE_ADDRESS) * ce_id; | 399 | return CE0_BASE_ADDRESS + (CE1_BASE_ADDRESS - CE0_BASE_ADDRESS) * ce_id; |
400 | } | 400 | } |