aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/ahb.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-02-12 16:29:40 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:34 -0500
commit1788bcd155a2cbb7fad6bb30c2ae3786ceee8b4c (patch)
tree48e680cc4836ff88f587ee98d62f9ec62c8daa41 /drivers/net/wireless/ath9k/ahb.c
parent191a99b748a080d9ec896f35352da741b556119e (diff)
ipw2200, fix ipw io functions
- some of them are defined as follows: #define ipw_write32 expr1; expr2 and are called from loops or ifs without a compound statement, so they are broken. Fix it by putting them into do {} while (0) for writes and ({ }) for reads. - also unify and cleanup them while at it -- convert them from macros to inline functions, so that we get some basic typechecking Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Acked-by: Zhu Yi <yi.zhu@intel.com> Cc: James Ketrenos <jketreno@linux.intel.com> Cc: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/ahb.c')
0 files changed, 0 insertions, 0 deletions