Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 128cb89e authored by Arik Nemtsov's avatar Arik Nemtsov Committed by Emmanuel Grumbach
Browse files

iwlwifi: trans: turn set_pmi into an optional callback



It is not currently implemented for SDIO, and not required for other slave
buses as well.

Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent efbf6e3b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -787,6 +787,7 @@ static inline u32 iwl_trans_write_mem32(struct iwl_trans *trans, u32 addr,

static inline void iwl_trans_set_pmi(struct iwl_trans *trans, bool state)
{
	if (trans->ops->set_pmi)
		trans->ops->set_pmi(trans, state);
}