diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-06-06 08:11:33 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-13 09:01:00 +0200 |
commit | 7eb89baa261ea8f09d7f6ad3c4db270fd7f3d0bd (patch) | |
tree | 917d74aeee2daf62c0652e5cc5479bde0eda1bcb /drivers/net/wireless/iwlwifi/iwl-io.h | |
parent | ff1ffb850b7ac6d0f1b085208a6630f7584e1015 (diff) | |
download | op-kernel-dev-7eb89baa261ea8f09d7f6ad3c4db270fd7f3d0bd.zip op-kernel-dev-7eb89baa261ea8f09d7f6ad3c4db270fd7f3d0bd.tar.gz |
iwlwifi: s/iwl_read_targ_mem_words/iwl_read_targ_mem_bytes
This macro gets the bufsize in bytes.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-io.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-io.h b/drivers/net/wireless/iwlwifi/iwl-io.h index 4a9a45f..45a59c9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-io.h +++ b/drivers/net/wireless/iwlwifi/iwl-io.h @@ -79,7 +79,7 @@ void iwl_clear_bits_prph(struct iwl_trans *trans, u32 reg, u32 mask); void _iwl_read_targ_mem_words(struct iwl_trans *trans, u32 addr, void *buf, int words); -#define iwl_read_targ_mem_words(trans, addr, buf, bufsize) \ +#define iwl_read_targ_mem_bytes(trans, addr, buf, bufsize) \ do { \ BUILD_BUG_ON((bufsize) % sizeof(u32)); \ _iwl_read_targ_mem_words(trans, addr, buf, \ |