diff options
author | Luis de Bethencourt <luisbg@openshine.com> | 2010-03-29 21:34:39 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-06 16:51:04 -0400 |
commit | 0a4528e2ae290104f2c343031976542f93ae229d (patch) | |
tree | d2648a190020b173c1b8e618aa71cdf866b1bb9c /drivers/net/wireless/ath | |
parent | d211e90e28a074447584729018a39910d691d1a8 (diff) |
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 <luisbg@ubuntu.com>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/hw.c b/drivers/net/wireless/ath/hw.c index ecc9eb01f4f..a8f81ea09f1 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 |