projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b0e7c
)
iwlwifi: mvm: fix sparse warning when _DEBUGFS isn't set
author
Emmanuel Grumbach
<
[email protected]
>
Tue, 6 May 2014 20:37:07 +0000
(23:37 +0300)
committer
Emmanuel Grumbach
<
[email protected]
>
Tue, 6 May 2014 20:37:07 +0000
(23:37 +0300)
Since the declaration of iwl_mvm_fw_error_rxf_dump and
iwl_mvm_fw_error_sram_dump is under
ifdef CONFIG_IWLWIFI_DEBUGFS, do the same for their
implementation.
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
drivers/net/wireless/iwlwifi/mvm/utils.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/mvm/utils.c
b/drivers/net/wireless/iwlwifi/mvm/utils.c
index c5f4532cafa94e4eaf3c454a34fa3597da1a66b1..4c3577e773a5d912fa5fe688eb24707133573d47 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/mvm/utils.c
+++ b/
drivers/net/wireless/iwlwifi/mvm/utils.c
@@
-519,6
+519,7
@@
void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm)
iwl_mvm_dump_umac_error_log(mvm);
}
+#ifdef CONFIG_IWLWIFI_DEBUGFS
void iwl_mvm_fw_error_sram_dump(struct iwl_mvm *mvm)
{
const struct fw_img *img;
@@
-581,6
+582,7
@@
void iwl_mvm_fw_error_rxf_dump(struct iwl_mvm *mvm)
}
iwl_trans_release_nic_access(mvm->trans, &flags);
}
+#endif
/**
* iwl_mvm_send_lq_cmd() - Send link quality command