Net: wireless: ath: fix macros coding style issue in hw.c
authorLuis de Bethencourt <luisbg@openshine.com>
Mon, 29 Mar 2010 20:34:39 +0000 (21:34 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Apr 2010 20:51:04 +0000 (16:51 -0400)
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>
drivers/net/wireless/ath/hw.c

index ecc9eb01f4fa12bddfd7ab044c79847bfe643c84..a8f81ea09f143cc56c981f80db73469196ddb4c6 100644 (file)
@@ -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