A minor modification of the TARG_VTOP macro. The AR6004 VTOP macro is used as default (for all chip's except AR6003) Signed-off-by: Erik Stromdahl <erik.stromdahl@xxxxxxxxx> --- drivers/net/wireless/ath/ath6kl/target.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath6kl/target.h b/drivers/net/wireless/ath/ath6kl/target.h index d5eeeae..c6c49b0 100644 --- a/drivers/net/wireless/ath/ath6kl/target.h +++ b/drivers/net/wireless/ath/ath6kl/target.h @@ -331,11 +331,11 @@ struct host_interest { /* Convert a Target virtual address into a Target physical address */ #define AR6003_VTOP(vaddr) ((vaddr) & 0x001fffff) -#define AR6004_VTOP(vaddr) (vaddr) +#define DEFAULT_VTOP(vaddr) (vaddr) #define TARG_VTOP(target_type, vaddr) \ (((target_type) == TARGET_TYPE_AR6003) ? AR6003_VTOP(vaddr) : \ - (((target_type) == TARGET_TYPE_AR6004) ? AR6004_VTOP(vaddr) : 0)) + DEFAULT_VTOP(vaddr)) #define ATH6KL_FWLOG_PAYLOAD_SIZE 1500 -- 2.1.4