]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iwlwifi: make iwl_fw_dbg_start_stop_hcmd() inline
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 31 Oct 2018 08:21:10 +0000 (10:21 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 29 Jan 2019 14:10:30 +0000 (16:10 +0200)
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>
drivers/net/wireless/intel/iwlwifi/fw/dbg.h

index 7cd206e6fb9e8dfe94fff9ddc8f860fde41c6d17..d8090d4b5c435acd88a9e243100485a66d7ac2b0 100644 (file)
@@ -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) :