From: Luis de Bethencourt Date: Mon, 29 Mar 2010 20:34:39 +0000 (+0100) Subject: Net: wireless: ath: fix macros coding style issue in hw.c X-Git-Tag: v2.6.35-rc1~473^2~460^2^2~82 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0a4528e2ae290104f2c343031976542f93ae229d;p=karo-tx-linux.git Net: wireless: ath: fix macros coding style issue in hw.c This is a patch to the ath/hw.c file that fixes up a warning about macros found by the checkpatch.pl tool, that said that complex values should be enclosed in parenthesis. Signed-off-by: Luis de Bethencourt Acked-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/hw.c b/drivers/net/wireless/ath/hw.c index ecc9eb01f4fa..a8f81ea09f14 100644 --- a/drivers/net/wireless/ath/hw.c +++ b/drivers/net/wireless/ath/hw.c @@ -19,8 +19,8 @@ #include "ath.h" #include "reg.h" -#define REG_READ common->ops->read -#define REG_WRITE common->ops->write +#define REG_READ (common->ops->read) +#define REG_WRITE (common->ops->write) /** * ath_hw_set_bssid_mask - filter out bssids we listen