diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2018-10-31 09:21:10 +0100 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2019-01-29 15:10:30 +0100 |
commit | da0df827cd15813c064d5859926b5f1e779d0061 (patch) | |
tree | 84239e580f4569e85ed507dcbee3415ce3973ab2 | |
parent | iwlwifi: mvm: save and export regdb blob from the NVM (diff) | |
download | linux-da0df827cd15813c064d5859926b5f1e779d0061.tar.xz linux-da0df827cd15813c064d5859926b5f1e779d0061.zip |
iwlwifi: make iwl_fw_dbg_start_stop_hcmd() inline
This function is supposed to be used as an inline function and is in a
header file, so make it inline.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/fw/dbg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/dbg.h b/drivers/net/wireless/intel/iwlwifi/fw/dbg.h index 7cd206e6fb9e..d8090d4b5c43 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/dbg.h +++ b/drivers/net/wireless/intel/iwlwifi/fw/dbg.h @@ -269,7 +269,8 @@ _iwl_fw_dbg_trigger_simple_stop(struct iwl_fw_runtime *fwrt, iwl_fw_dbg_get_trigger((fwrt)->fw,\ (trig))) -static int iwl_fw_dbg_start_stop_hcmd(struct iwl_fw_runtime *fwrt, bool start) +static inline int +iwl_fw_dbg_start_stop_hcmd(struct iwl_fw_runtime *fwrt, bool start) { struct iwl_ldbg_config_cmd cmd = { .type = start ? cpu_to_le32(START_DEBUG_RECORDING) : |