iwlwifi: mvm: constify the parameters of a few functions in fw-dbg.c
The debug functions of fw-dbg.c don't really need to modify the trigger and the description they receive as a parameter. Constify the pointers. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
@@ -663,7 +663,7 @@ struct iwl_trans_ops {
|
||||
void (*resume)(struct iwl_trans *trans);
|
||||
|
||||
struct iwl_trans_dump_data *(*dump_data)(struct iwl_trans *trans,
|
||||
struct iwl_fw_dbg_trigger_tlv
|
||||
const struct iwl_fw_dbg_trigger_tlv
|
||||
*trigger);
|
||||
};
|
||||
|
||||
@@ -966,7 +966,7 @@ static inline void iwl_trans_resume(struct iwl_trans *trans)
|
||||
|
||||
static inline struct iwl_trans_dump_data *
|
||||
iwl_trans_dump_data(struct iwl_trans *trans,
|
||||
struct iwl_fw_dbg_trigger_tlv *trigger)
|
||||
const struct iwl_fw_dbg_trigger_tlv *trigger)
|
||||
{
|
||||
if (!trans->ops->dump_data)
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user