summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-debug.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-04-17 07:36:30 -0700
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-04-23 14:30:51 -0700
commit65de7e84fdc71a409f1d97aba8e44ece26628f51 (patch)
treec2db81db4b0660fd8c3d615b56e502921224f1c1 /drivers/net/wireless/iwlwifi/iwl-debug.h
parenteb4887b6c6ddfe401b2668da9c1bf5f154522ace (diff)
downloadop-kernel-dev-65de7e84fdc71a409f1d97aba8e44ece26628f51.zip
op-kernel-dev-65de7e84fdc71a409f1d97aba8e44ece26628f51.tar.gz
iwlwifi: clean up module parameters
For now at least, all module parameters should be with the core functionality, so move them there, while at it rename to iwlwifi_mod_params. Also rename iwl-shared.h to iwl-modparams.h to reflect the real contents. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-debug.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debug.h b/drivers/net/wireless/iwlwifi/iwl-debug.h
index 2dcbeba..8376b84 100644
--- a/drivers/net/wireless/iwlwifi/iwl-debug.h
+++ b/drivers/net/wireless/iwlwifi/iwl-debug.h
@@ -29,12 +29,12 @@
#ifndef __iwl_debug_h__
#define __iwl_debug_h__
-#include "iwl-shared.h"
+#include "iwl-modparams.h"
static inline bool iwl_have_debug_level(u32 level)
{
- return iwlagn_mod_params.debug_level & level;
+ return iwlwifi_mod_params.debug_level & level;
}
void __iwl_err(struct device *dev, bool rfkill_prefix, bool only_trace,
OpenPOWER on IntegriCloud